MCPcopy Index your code
hub / github.com/angular/angular / main

Function main

modules/ssr-benchmarks/run-benchmark.ts:34–45  ·  view source on GitHub ↗
(narrowRun: boolean)

Source from the content-addressed store, hash-verified

32main(narrowRun);
33
34async function main(narrowRun: boolean) {
35 console.log('Benchmarking started...');
36 console.log(`DOM emulation is ${DISABLE_DOM_EMULATION ? 'disabled' : 'enabled'}`);
37
38 if (narrowRun) {
39 await benchmarkRun(10000, 20);
40 } else {
41 await benchmarkRun(10, 1000);
42 await benchmarkRun(100, 1000);
43 await benchmarkRun(1000, 1000);
44 }
45}
46
47/**
48 *

Callers 1

run-benchmark.tsFile · 0.70

Calls 2

benchmarkRunFunction · 0.85
logMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…