commit | 43d0eed3db77a5e6167b5ebbf6ecb3710790272a | [log] [tgz] |
---|---|---|
author | Benoît Lizé <lizeb@chromium.org> | Fri Nov 09 11:53:38 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Nov 09 11:53:38 2018 |
tree | c46d1783ec6c8bbd1f20a1301020603d9675f81d | |
parent | 80ae982b6309cb7b9a9e8320524ef384deeed972 [diff] |
blink/bindings: Record compressed size and savings for ParkableString. Records the total size of parkable strings, the total compressed size, the average compression ratio and the total savings from compression. As these values are correlated, separate histograms are required. The recording happens 30s after compression tasks are kicked off, provided that the renderer's state (foreground/background) hasn't changed in the meantime, to help with the interpretation of results. 30s is chosen as it's long enough for compression to be done, and short enough to minimize the risk of the renderer getting killed and/or moving back to foreground. Also remove an outdated comment in parkable_string.cc. Bug: 877044 Change-Id: Ic8cf4a410d182387ffd1d37b23d84b5426d227cb Reviewed-on: https://chromium-review.googlesource.com/c/1323549 Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: Steven Holte <holte@chromium.org> Commit-Queue: Benoit L <lizeb@chromium.org> Cr-Commit-Position: refs/heads/master@{#606800}
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 .