Home / Function/ buildBenchmark() — react Function Reference

buildBenchmark() — react Function Reference

Architecture documentation for the buildBenchmark() function in build.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  09fff6c5_7ad4_bedc_9f1a_a9e3500f8b51["buildBenchmark()"]
  5e153800_aec7_3467_f7c7_9d8fa2ae38f0["build.js"]
  09fff6c5_7ad4_bedc_9f1a_a9e3500f8b51 -->|defined in| 5e153800_aec7_3467_f7c7_9d8fa2ae38f0
  f1905353_2906_d015_f5e7_4d55d64c0d47["getDefaultReactPath()"]
  09fff6c5_7ad4_bedc_9f1a_a9e3500f8b51 -->|calls| f1905353_2906_d015_f5e7_4d55d64c0d47
  style 09fff6c5_7ad4_bedc_9f1a_a9e3500f8b51 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

scripts/bench/build.js lines 45–51

async function buildBenchmark(reactPath = getDefaultReactPath(), benchmark) {
  // get the build.js from the benchmark directory and execute it
  await require(join(__dirname, 'benchmarks', benchmark, 'build.js'))(
    reactPath,
    asyncCopyTo
  );
}

Domain

Subdomains

Frequently Asked Questions

What does buildBenchmark() do?
buildBenchmark() is a function in the react codebase, defined in scripts/bench/build.js.
Where is buildBenchmark() defined?
buildBenchmark() is defined in scripts/bench/build.js at line 45.
What does buildBenchmark() call?
buildBenchmark() calls 1 function(s): getDefaultReactPath.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free