Speedometer 2.1
Speedometer 2.1 is a minor update that fixes the benchmark harness so it no longer measures artificial timer throttling. The harness used nested setTimeout calls to capture deferred asynchronous work, but the deep nesting it built up triggered the spec-mandated 4ms throttle between callbacks, inflating measured work time. Inserting window.requestAnimationFrame before each test run resets the nesting level and isolates subtests better. Scores improved 3-5% in stable Safari, Chrome and Firefox.
Related posts
- Speedometer 3.0: The Best Way Yet to Measure Browser Performance
WebKit mediumAdeptSpeedometer 3.0, jointly governed by Blink, Gecko and WebKit developers, changes how browser responsiveness is measured. Test scripts now run inside a requestAnimationFrame callback as "sync" time, and a zero-delay timer scheduled from a second rAF measures "async" time. Under the HTML5 event loop model, this ordering guarantees that rendering updates and rAF-deferred framework work are captured, which the old timer-only approach could miss. The workloads expand to TodoMVC apps in nine popular frameworks chosen from HTTP Archive and npm data, complex-DOM variants, Next.js/Nuxt news sites, SVG and canvas charting apps, and CodeMirror/TipTap editors. Scores are rescaled so a typical browser starts in the 20–30 range.
- Introducing JetStream 2.1
WebKit easyNoviceJetStream 2.1 keeps the same 64 JavaScript subtests as JetStream 2 but changes the benchmark driver to pre-fetch network resources into Blobs and load subtests from blob URLs. JetStream 2 scores could vary with network speed because network latency created pauses between subtests, and second-order effects like CPU ramping then skewed the results. With the fix, scores measured on Chrome and Safari are more stable. JetStream 2.1 scores are not comparable to any other JetStream version.
- Optimizing WebKit & Safari for Speedometer 3.0
WebKit hardMasterWebKit's Speedometer 3.0 work spans JavaScriptCore, DOM, style, layout, rendering and Safari itself, with measured gains for each change. The largest wins came from letting the simple text path handle font-variant-caps (4.5x on Editor-TipTap, ~7% overall) and from scheduling incremental sweeping and garbage collection opportunistically between rendering updates (6.5% on Speedometer 3.0). Other changes include reworked megamorphic and call inline caches, retuned inlining heuristics, lazy JIT code destruction, enum-based RenderObject type checks, cached CSS custom property resolution, and a larger IOSurface cache (hit rate ~30% to ~80%). Profile-guided optimization interacts with code changes in a surprising way: some improvements only appear, or briefly regress, until the PGO profiles refresh.
- MotionMark 1.2
WebKit mediumAdeptMotionMark 1.2 is a small reliability-focused update to the browser graphics benchmark. Its largest change is removing the Focus subtest. In engines with an asynchronous compositor like WebKit, that subtest measured how fast work descriptions reach the compositor rather than how fast the compositor executes them, and its indirect, scheduler-mediated backpressure caused large score variance. The harness also adds longer warm-up between tests, requires at least 30 frames between tests and 9 frames before any complexity-ramping decision, and discards outlier frame times, making scores far more reproducible across machines.
- Announcing MotionMark 1.3
WebKit mediumAdeptMotionMark 1.3, Apple's browser graphics benchmark, now detects the browser's requestAnimationFrame frequency and uses it as the target frame rate instead of assuming 60fps. Browsers running at 120Hz therefore get less time per frame and score lower, so cross-browser comparisons should be run with the display set to 60Hz. Scoring drops the unreliable "flat" profile and counts only animation frames, excluding the slower DOM-mutation frames that added noise. Several subtests were also fixed: Multiply's complexity cap was raised and its hiding method changed, Paths got a more consistent workload, and Design no longer clips text in a way that inflated scores.