Skip to content

Add opt-in continuous multi-step runner mode - #607

Draft
etiennep-chromium wants to merge 1 commit into
WebKit:mainfrom
etiennep-chromium:continuous-multistep-runner
Draft

etiennep-chromium wants to merge 1 commit into
WebKit:mainfrom
etiennep-chromium:continuous-multistep-runner

Conversation

@etiennep-chromium

Copy link
Copy Markdown

Adds an opt-in "continuous" multi-step measurement mode (selectable via suite.type = "continuous" or ?measurementMethod=continuous) that chains consecutive steps via MessageChannel with a continuous clock (0 ms unmeasured inter-step gap) instead of waiting for requestAnimationFrame between every step.

  • Eliminates unmeasured inter-step rAF idle gaps (~5-16 ms/boundary) where incremental GC finalization and Oilpan/embedder sweeping tasks can escape measurement.
  • Unwinds the JS/C++ stack between steps while still allowing natural frame paints, closing the final step with a standard rAF + setTimeout async paint.
  • Leaves default measurementMethod=raf suites completely unchanged.

Adds an opt-in "continuous" multi-step measurement mode (selectable via
suite.type = "continuous" or ?measurementMethod=continuous) that chains
consecutive steps via MessageChannel with a continuous clock (0 ms
unmeasured inter-step gap) instead of waiting for requestAnimationFrame
between every step.

- Eliminates unmeasured inter-step rAF idle gaps (~5-16 ms/boundary)
  where incremental GC finalization and Oilpan/embedder sweeping tasks
  can escape measurement.
- Unwinds the JS/C++ stack between steps while still allowing natural
  frame paints, closing the final step with a standard rAF + setTimeout
  async paint.
- Leaves default measurementMethod=raf suites completely unchanged.
@netlify

netlify Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for webkit-speedometer-preview ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 8b62603
🔍 Latest deploy log https://app.netlify.com/projects/webkit-speedometer-preview/deploys/6b0ae7405a100f359e6e0993
😎 Deploy Preview https://deploy-preview-607--webkit-speedometer-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant