commit | 4dee012cfe5748e0dab658267fc55c9910ad2418 | [log] [tgz] |
---|---|---|
author | Ross McIlroy <rmcilroy@chromium.org> | Wed Jul 25 00:27:49 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jul 25 00:27:49 2018 |
tree | 3a912f491cc96eb3987f911343702350a8378217 | |
parent | fc566d1c1a2d8da82ccce610b153f3b54524eab4 [diff] |
[ScriptStreamer] Better histogram tracking of reason scripts aren't streamed Currently the NotStreamingReason histogram is only recorded if we try to start streaming a script, and is not updated for various situations where we cancel streaming a script (e.g., we have a code-cache for the script). This CL updates the tracking such that we record the reason script streaming wasn't started, or was suppressed, and then record this in the histogram when calling GetSource() on the ClassicPendingScript. As part of this change, the logic for recording these histograms is moved from ScriptStreamer to ClassicPendingScript. The ScriptStreamer::Type enum is also moved to PendingScript and renamed ExecutionType, since it is no longer used by the ScriptStreamer class. BUG=865098 Change-Id: I20979352c6976e489d051a8432bbc51c39f428b0 Reviewed-on: https://chromium-review.googlesource.com/1142158 Commit-Queue: Ross McIlroy <rmcilroy@chromium.org> Reviewed-by: Hiroshige Hayashizaki <hiroshige@chromium.org> Reviewed-by: Steven Holte <holte@chromium.org> Reviewed-by: Daniel Vogelheim <vogelheim@chromium.org> Reviewed-by: Kouhei Ueno <kouhei@chromium.org> Reviewed-by: Marja Hölttä <marja@chromium.org> Cr-Commit-Position: refs/heads/master@{#577744}
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 .