# How Chrome achieved the highest score ever on Speedometer 3

DevFeed: [How Chrome achieved the highest score ever on Speedometer 3](<https://devfeed.tech/articles/how-chrome-achieved-the-highest-score-ever-on-speedometer-3-4187.md>)

Original publisher: [Read original article](<https://blog.chromium.org/2024/06/how-chrome-achieved-highest-score-ever.html>)

Author: Chromium Blog (noreply@blogger.com)

Published: 2024-06-06T16:15:00Z

Content type: article

Language: en

Sources: [Chromium Blog](<https://devfeed.tech/sources/chromium-blog.md>)

Topics: [performance-optimization](<https://devfeed.tech/topics/performance-optimization.md>), [Google Chrome](<https://devfeed.tech/topics/google-chrome.md>), [Web app](<https://devfeed.tech/topics/webapp.md>), [Chromium](<https://devfeed.tech/topics/chromium.md>)

Tags: [apple](<https://devfeed.tech/tags/apple.md>), [applications](<https://devfeed.tech/tags/applications.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [browser](<https://devfeed.tech/tags/browser.md>), [chrome](<https://devfeed.tech/tags/chrome.md>), [class](<https://devfeed.tech/tags/class.md>), [collaboration](<https://devfeed.tech/tags/collaboration.md>), [dedupe](<https://devfeed.tech/tags/dedupe.md>), [drawing](<https://devfeed.tech/tags/drawing.md>), [elements](<https://devfeed.tech/tags/elements.md>), [memory](<https://devfeed.tech/tags/memory.md>), [none](<https://devfeed.tech/tags/none.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [optimize](<https://devfeed.tech/tags/optimize.md>), [optimized](<https://devfeed.tech/tags/optimized.md>), [parsing](<https://devfeed.tech/tags/parsing.md>), [performance](<https://devfeed.tech/tags/performance.md>), [selector](<https://devfeed.tech/tags/selector.md>), [space](<https://devfeed.tech/tags/space.md>), [strings](<https://devfeed.tech/tags/strings.md>), [the-fast-and-the-curious](<https://devfeed.tech/tags/the-fast-and-the-curious.md>), [webkit](<https://devfeed.tech/tags/webkit.md>)

## AI overview

Chrome reports a 72% increase in its Speedometer 3 score since the benchmark's inception in May 2022, based on tracking performance and targeting benchmark workloads. Optimizations included removing checks in SpaceSplitString, reusing duplicate stylesheets, tuning memory allocation for path and arc drawing, reducing form-element processing, and adding a common-selector fast path in querySelector. Extending innerHTML parsing optimizations to DOMParser yielded a reported 1% gain; Chrome also worked with a HarfBuzz maintainer on faster AAT font processing. Intel contributed profile-guided tiering to V8, which reuses past tiering decisions. Garbage-collection changes contributed around 3% progression: V8 favors idle time for DOM finalization and uses a more compact layout for JavaScript objects wrapping DOM elements, reducing memory pressure and collection time. The figures are Chrome's reported benchmark results; the supplied text does not quantify each other optimization's contribution.

## Source excerpt

Today's The Fast and the Curious post explores how Chrome achieved the highest score on the new Speedometer 3.0, an upgraded browser benchmarking tool to optimize the performance of Web applications. Try out Chrome today! Speedometer 3.0 is a recently published benchmark for measuring browser performance that was created as an industry collaboration between companies like Google, Apple, Mozilla, Intel, and Microsoft. This benchmark helped us identify areas in which we could optimize Chrome to deliver a faster browser experience to all our users. Here's a closer look at how we further optimized Chrome to achieve the highest score ever Speedometer 3, by carefully tracking its recent performance over time as the updated benchmark was being developed. Since the inception of Speedometer 3 in May 2022, we've driven a 72% increase in Chrome's Speedometer score - translating into performance gains for our users: Optimizing workloads By looking at the workloads in Speedometer and in which functions Chrome was spending the most time, we were able to make targeted optimizations to those functions that each drove an increase in Chrome's score. For example, the SpaceSplitString function is used heavily to turn space-separated strings such as those in "class='foo bar' " into a list representation. In this function we removed some unnecessary bound checks. When we detect that there are duplicated stylesheets, we dedupe them and reference a single stylesheet instance. We made an optimization to reduce the cost of drawing paths and arcs by tuning memory allocations. When creating form editors we detected some unnecessary processing that occurs when form elements are created. Within querySelector, we were able to detect what selector was commonly used and create a hot-path for that. We previously shared how we optimized innerHTML using specialized fast paths for parsing, an implementation that also made its way into WebKit. Some workloads in Speedometer 3 use DOMParser so we extended