forked from win32ss/supermium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add UMA in preparation of running the ParserMainThread experiment
This patch adds the following metrics: - queueing delay from bytes received on the main thread to bytes received on the BackgroundHTMLParser - preload delay measured from bytes received on the main thread to preloads sent to the main thread The patch also gets rid of the appendRawBytesFromParserThread method, which was dead code. BUG=623165,603274 Review-Url: https://codereview.chromium.org/2097973002 Cr-Commit-Position: refs/heads/master@{#402516}
- Loading branch information
1 parent
022687c
commit 8987421
Showing
4 changed files
with
34 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37423,6 +37423,15 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. | |
</summary> | ||
</histogram> | ||
|
||
<histogram name="Parser.AppendBytesDelay" units="ms"> | ||
<owner>[email protected]</owner> | ||
<summary> | ||
The delay from when bytes are received on the main thread to when the | ||
BackgroundHTMLParser starts tokenizing them. Always a shorter time than the | ||
time emitted to Parser.PreloadTokenizeDelay. | ||
</summary> | ||
</histogram> | ||
|
||
<histogram name="Parser.ChunkEnqueueTime" units="ms"> | ||
<owner>[email protected]</owner> | ||
<summary> | ||
|
@@ -37454,6 +37463,15 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. | |
</summary> | ||
</histogram> | ||
|
||
<histogram name="Parser.PreloadTokenizeDelay" units="ms"> | ||
<owner>[email protected]</owner> | ||
<summary> | ||
The delay from when bytes are received on the main thread to when they are | ||
tokenized and preloads are sent back to the main parser. Always a greater | ||
time than the time emitted to Parser.AppendBytesDelay. | ||
</summary> | ||
</histogram> | ||
|
||
<histogram name="PartitionAlloc.CommittedSize" units="MB"> | ||
<owner>[email protected]</owner> | ||
<summary> | ||
|