(narrowRun: boolean)
| 32 | main(narrowRun); |
| 33 | |
| 34 | async 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 | * |
no test coverage detected
searching dependent graphs…