commit | 6dd09a38aaae9c15adf5aad966f761f180bf1cef | [log] [tgz] |
---|---|---|
author | Lucas Furukawa Gadani <lfg@chromium.org> | Mon Nov 13 18:34:22 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Nov 13 18:34:22 2017 |
tree | 08878a12f1a0e012cc6dda038734b32c6dbd0c17 | |
parent | 0a7ee6cc91bc20ad172120f605fb52ba379f0986 [diff] |
Cleanup blink::SegmentedString. This CL cleans up and simplifies SegmentedString, leading to an improvement in parsing performance. This CL also adds a cache for the current_char_ in SegmentedSubstring, so it can avoid a branch when calling GetCurrentChar(). Profiling shows a 1.5% improvement in the jQuery benchmark in Speedometer 2.0 and around 1% across the various VanillaJS benchmarks in Speedometer 2.0. Change-Id: Idc1ae1e277aaec1c9f581075eab563fcd2a72688 Reviewed-on: https://chromium-review.googlesource.com/762016 Commit-Queue: Lucas Gadani <lfg@chromium.org> Reviewed-by: Jeremy Roman <jbroman@chromium.org> Reviewed-by: Kouhei Ueno <kouhei@chromium.org> Cr-Commit-Position: refs/heads/master@{#515989}
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 .