Chromium Blog
Follow
Introducing Shared Memory Versioning to improve slow interactions
Google's Chrome team prioritizes delivering fast performance consistently. By analyzing field data, the team identified recurring synchronous calls to fetch site cookies as a cause of slow interactions. The multi-process architecture of Chrome led to resource contention, exacerbating the issue. To address this, the team introduced Shared Memory Versioning, pairing cookie values with versions to reduce inter-process messages by 80% and speed up cookie accesses by 60%. A/B testing confirmed a 5% improvement in slowest interactions, contributing to improved Core Web Vitals performance for websites. The implementation of Shared Memory Versioning eliminated redundant cookie requests, which previously occurred hundreds of times per second on some sites. The change reflects Chrome's commitment to optimizing performance and enhancing the user experience on the web.