Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/react/react
/ launchChrome
Function
launchChrome
scripts/bench/benchmark.js:101–105 ·
view source on GitHub ↗
(headless)
Source
from the content-addressed store, hash-verified
99
}
100
101
async
function
launchChrome(headless) {
102
return
await
chromeLauncher.launch({
103
chromeFlags: [headless ?
'--headless'
:
''
],
104
});
105
}
106
107
async
function
runBenchmark(benchmark, headless) {
108
const
results = {
Callers
1
runBenchmark
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected