Home / Function/ benchmarkLocal() — react Function Reference

benchmarkLocal() — react Function Reference

Architecture documentation for the benchmarkLocal() function in runner.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  139eae4a_5978_c3df_a292_950ad5963756["benchmarkLocal()"]
  b4fea2f4_8c60_e575_c4e5_90aa97dfacad["runner.js"]
  139eae4a_5978_c3df_a292_950ad5963756 -->|defined in| b4fea2f4_8c60_e575_c4e5_90aa97dfacad
  36bf2b85_c18d_6d3a_2ec8_9d15cbcd5a3a["runLocalBenchmarks()"]
  36bf2b85_c18d_6d3a_2ec8_9d15cbcd5a3a -->|calls| 139eae4a_5978_c3df_a292_950ad5963756
  cba78ff8_78c0_6f8d_5122_9aa5bab6d1d7["runBenchmarks()"]
  139eae4a_5978_c3df_a292_950ad5963756 -->|calls| cba78ff8_78c0_6f8d_5122_9aa5bab6d1d7
  style 139eae4a_5978_c3df_a292_950ad5963756 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

scripts/bench/runner.js lines 83–89

async function benchmarkLocal(reactPath) {
  console.log(chalk.gray(`- Building React bundles...`));
  await buildReactBundles(reactPath, skipBuild);
  return {
    benchmarks: await runBenchmarks(reactPath),
  };
}

Domain

Subdomains

Frequently Asked Questions

What does benchmarkLocal() do?
benchmarkLocal() is a function in the react codebase, defined in scripts/bench/runner.js.
Where is benchmarkLocal() defined?
benchmarkLocal() is defined in scripts/bench/runner.js at line 83.
What does benchmarkLocal() call?
benchmarkLocal() calls 1 function(s): runBenchmarks.
What calls benchmarkLocal()?
benchmarkLocal() is called by 1 function(s): runLocalBenchmarks.

Analyze Your Own Codebase

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

Try Supermodel Free