compareLocalToMaster() — react Function Reference
Architecture documentation for the compareLocalToMaster() function in runner.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 324ab7a7_a61d_a263_5cc4_cec20255c9a0["compareLocalToMaster()"] b4fea2f4_8c60_e575_c4e5_90aa97dfacad["runner.js"] 324ab7a7_a61d_a263_5cc4_cec20255c9a0 -->|defined in| b4fea2f4_8c60_e575_c4e5_90aa97dfacad 36bf2b85_c18d_6d3a_2ec8_9d15cbcd5a3a["runLocalBenchmarks()"] 324ab7a7_a61d_a263_5cc4_cec20255c9a0 -->|calls| 36bf2b85_c18d_6d3a_2ec8_9d15cbcd5a3a 84a47900_9c3f_5fb3_3b98_4632e7997e3b["runRemoteBenchmarks()"] 324ab7a7_a61d_a263_5cc4_cec20255c9a0 -->|calls| 84a47900_9c3f_5fb3_3b98_4632e7997e3b style 324ab7a7_a61d_a263_5cc4_cec20255c9a0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
scripts/bench/runner.js lines 117–127
async function compareLocalToMaster() {
console.log(
chalk.white.bold('Comparing ') +
chalk.green.bold('Local (Current Branch)') +
chalk.white.bold(' to ') +
chalk.yellow.bold('Remote (Merge Base)')
);
const localResults = await runLocalBenchmarks(false);
const remoteMasterResults = await runRemoteBenchmarks(false);
printResults(localResults, remoteMasterResults);
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does compareLocalToMaster() do?
compareLocalToMaster() is a function in the react codebase, defined in scripts/bench/runner.js.
Where is compareLocalToMaster() defined?
compareLocalToMaster() is defined in scripts/bench/runner.js at line 117.
What does compareLocalToMaster() call?
compareLocalToMaster() calls 2 function(s): runLocalBenchmarks, runRemoteBenchmarks.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free