commit | 1c2a6a1a23b1554af061eb0993b3c51247975b6d | [log] [tgz] |
---|---|---|
author | Aldo Culquicondor <acondor@chromium.org> | Tue Mar 04 15:11:39 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 04 15:11:39 2025 |
tree | a0e78b9f3516240ac9df654e047c8b47e3f82411 | |
parent | e963e7bce07e176f2eaee2bd3151fbb541749411 [diff] |
Optimize MaybeDeleteEquivalentCookieAndUpdateStatus By avoiding repeated calculations for equivalency checks. Before: Most iterations take around 3us https://screenshot.googleplex.com/6FYySBj5kqopiby After: Most iterations take 1us or less https://screenshot.googleplex.com/6jtLsRLg9gdJShE Overall, this brings a 23% improvement for the SetCanonicalCookie function, as measured on a Pixel 8 for theverge.com Bug: 380864710 Change-Id: I45df31c83823d4831c0a7cea4e467928dec57c90 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6313079 Commit-Queue: Aldo Culquicondor <acondor@chromium.org> Reviewed-by: Steven Bingler <bingler@chromium.org> Cr-Commit-Position: refs/heads/main@{#1427710}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.