Home / Function/ launchChrome() — react Function Reference

launchChrome() — react Function Reference

Architecture documentation for the launchChrome() function in benchmark.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  bd658158_49dd_7458_5e9e_663b349801a1["launchChrome()"]
  02d6bf58_0cc1_3948_88dc_770b7cc0c6a8["benchmark.js"]
  bd658158_49dd_7458_5e9e_663b349801a1 -->|defined in| 02d6bf58_0cc1_3948_88dc_770b7cc0c6a8
  ead87b1e_84cc_2be8_7c09_282b767b1113["runBenchmark()"]
  ead87b1e_84cc_2be8_7c09_282b767b1113 -->|calls| bd658158_49dd_7458_5e9e_663b349801a1
  style bd658158_49dd_7458_5e9e_663b349801a1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

scripts/bench/benchmark.js lines 101–105

async function launchChrome(headless) {
  return await chromeLauncher.launch({
    chromeFlags: [headless ? '--headless' : ''],
  });
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does launchChrome() do?
launchChrome() is a function in the react codebase, defined in scripts/bench/benchmark.js.
Where is launchChrome() defined?
launchChrome() is defined in scripts/bench/benchmark.js at line 101.
What calls launchChrome()?
launchChrome() is called by 1 function(s): runBenchmark.

Analyze Your Own Codebase

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

Try Supermodel Free