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

Function runLocalBenchmarks

scripts/bench/runner.js:91–102  ·  view source on GitHub ↗
(showResults)

Source from the content-addressed store, hash-verified

89}
90
91async function runLocalBenchmarks(showResults) {
92 console.log(
93 chalk.white.bold('Running benchmarks for ') +
94 chalk.green.bold('Local (Current Branch)')
95 );
96 const localResults = await benchmarkLocal(join(__dirname, '..', '..'));
97
98 if (showResults) {
99 printResults(localResults, null);
100 }
101 return localResults;
102}
103
104async function runRemoteBenchmarks(showResults) {
105 console.log(

Callers 2

compareLocalToMasterFunction · 0.85
runner.jsFile · 0.85

Calls 2

benchmarkLocalFunction · 0.85
printResultsFunction · 0.70

Tested by

no test coverage detected