MCPcopy Index your code
hub / github.com/react/react / getBenchmarkNames

Function getBenchmarkNames

scripts/bench/runner.js:17–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15const serveBenchmark = require('./server');
16
17function getBenchmarkNames() {
18 return readdirSync(join(__dirname, 'benchmarks')).filter(file =>
19 statSync(join(__dirname, 'benchmarks', file)).isDirectory()
20 );
21}
22
23function wait(val) {
24 return new Promise(resolve => setTimeout(resolve, val));

Callers 1

runBenchmarksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected