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

Function benchmarkLocal

scripts/bench/runner.js:83–89  ·  view source on GitHub ↗
(reactPath)

Source from the content-addressed store, hash-verified

81// get the performance benchmark results
82// of the local react repo
83async function benchmarkLocal(reactPath) {
84 console.log(chalk.gray(`- Building React bundles...`));
85 await buildReactBundles(reactPath, skipBuild);
86 return {
87 benchmarks: await runBenchmarks(reactPath),
88 };
89}
90
91async function runLocalBenchmarks(showResults) {
92 console.log(

Callers 1

runLocalBenchmarksFunction · 0.85

Calls 2

buildReactBundlesFunction · 0.85
runBenchmarksFunction · 0.85

Tested by

no test coverage detected