Home / Function/ runLocalBenchmarks() — react Function Reference

runLocalBenchmarks() — react Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

scripts/bench/runner.js lines 91–102

async function runLocalBenchmarks(showResults) {
  console.log(
    chalk.white.bold('Running benchmarks for ') +
      chalk.green.bold('Local (Current Branch)')
  );
  const localResults = await benchmarkLocal(join(__dirname, '..', '..'));

  if (showResults) {
    printResults(localResults, null);
  }
  return localResults;
}

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free