commit | 05ae570847c6db85548ed1cbda3ea376a752dc27 | [log] [tgz] |
---|---|---|
author | John Abd-El-Malek <jam@chromium.org> | Wed Feb 07 18:04:41 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Feb 07 18:04:41 2018 |
tree | 9f6b90470a2621c9e18f8af76246ea8433313aee | |
parent | 5d27a7d4c65f6377a4842c830ab676b180c0647d [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-Commit-Position: refs/heads/master@{#535059}
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 .