diff --git a/perf/efps/runTest.ts b/perf/efps/runTest.ts index 2b45684636a..8367048a5cd 100644 --- a/perf/efps/runTest.ts +++ b/perf/efps/runTest.ts @@ -136,9 +136,9 @@ export async function runTest({ last = current if (done) return - requestAnimationFrame(handleFrame) + setTimeout(handleFrame, 0) } - requestAnimationFrame(handleFrame) + setTimeout(handleFrame, 0) await new Promise((resolve) => { window.document.addEventListener('__finish', resolve, {once: true})