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

Function compareLocalToMaster

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

Source from the content-addressed store, hash-verified

115}
116
117async function compareLocalToMaster() {
118 console.log(
119 chalk.white.bold('Comparing ') +
120 chalk.green.bold('Local (Current Branch)') +
121 chalk.white.bold(' to ') +
122 chalk.yellow.bold('Remote (Merge Base)')
123 );
124 const localResults = await runLocalBenchmarks(false);
125 const remoteMasterResults = await runRemoteBenchmarks(false);
126 printResults(localResults, remoteMasterResults);
127}
128
129if ((runLocal && runRemote) || (!runLocal && !runRemote)) {
130 compareLocalToMaster().then(() => process.exit(0));

Callers 1

runner.jsFile · 0.85

Calls 3

runLocalBenchmarksFunction · 0.85
runRemoteBenchmarksFunction · 0.85
printResultsFunction · 0.70

Tested by

no test coverage detected