commit | 1053f1db4260cb147e5867ccd74492853ad4f7b3 | [log] [tgz] |
---|---|---|
author | John Abd-El-Malek <jam@chromium.org> | Thu Feb 08 19:41:44 2018 |
committer | John Abd-El-Malek <jam@chromium.org> | Thu Feb 08 19:41:44 2018 |
tree | 67f37872d9e2d35f2b1a80e370f8123e00105504 | |
parent | f8ebd4ffb9ebfae0019a04cdfda54894a7a506bd [diff] |
Optimize the Flash download check. On every navigation we're calling RE2 to check if the URL is a Flash download page. Since the check is using RE2, it takes a lot of CPU (~35% of browser process). Add an early optimization to skip it if the url isn't on adobe.com or macromedia.com. Bug: 809775 Change-Id: I78c39b7075cadc077dc39db408adda084e9a39fd Reviewed-on: https://chromium-review.googlesource.com/906829 Reviewed-by: Tommy Li <tommycli@chromium.org> Commit-Queue: John Abd-El-Malek <jam@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#535059}(cherry picked from commit 05ae570847c6db85548ed1cbda3ea376a752dc27) Reviewed-on: https://chromium-review.googlesource.com/909351 Reviewed-by: John Abd-El-Malek <jam@chromium.org> Cr-Commit-Position: refs/branch-heads/3325@{#385} Cr-Branched-From: bc084a8b5afa3744a74927344e304c02ae54189f-refs/heads/master@{#530369}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .