* Runs the styling benchmark with the given id and worker. The worker describes * the actions that should run for preparation and measurement.
(id: string, worker: {prepare: () => void; work: () => void})
| 109 | * the actions that should run for preparation and measurement. |
| 110 | */ |
| 111 | function runStylingBenchmark(id: string, worker: {prepare: () => void; work: () => void}) { |
| 112 | return runBenchmark({ |
| 113 | id, |
| 114 | url: '/', |
| 115 | params: [], |
| 116 | ignoreBrowserSynchronization: true, |
| 117 | prepare: worker.prepare, |
| 118 | work: worker.work, |
| 119 | }); |
| 120 | } |
no test coverage detected
searching dependent graphs…