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

Function buildBenchmark

scripts/bench/build.js:45–51  ·  view source on GitHub ↗
(reactPath = getDefaultReactPath(), benchmark)

Source from the content-addressed store, hash-verified

43}
44
45async function buildBenchmark(reactPath = getDefaultReactPath(), benchmark) {
46 // get the build.js from the benchmark directory and execute it
47 await require(join(__dirname, 'benchmarks', benchmark, 'build.js'))(
48 reactPath,
49 asyncCopyTo
50 );
51}
52
53async function getMergeBaseFromLocalGitRepo(localRepo) {
54 const repo = await Git.Repository.open(localRepo);

Callers 1

runBenchmarksFunction · 0.85

Calls 1

getDefaultReactPathFunction · 0.85

Tested by

no test coverage detected