Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Issue 2078723002: Add HTML parser UMA for rewinds and chunk queue statistics. (Closed)

Created:
4 years, 6 months ago by Charlie Harrison
Modified:
4 years, 6 months ago
CC:
chromium-reviews, blink-reviews, dglazkov+blink, blink-reviews-html_chromium.org, kinuko+watch, asvitkine+watch_chromium.org, loading-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add HTML parser UMA for rewinds and chunk queue statistics. This patch adds uma for how many tokens we had to rewind the BG parser, as well as the peak size of the pending chunk queue, in chunk length and token length. We also log the time it takes to create a chunk/checkpoint, which can involve lengthy string copies. This is in preparation for an experiment where the parser's behavior with the queue will be modified. BUG=603274 Committed: https://crrev.com/cfb243c66139d26bccc8056f34a006d2588e86d3 Cr-Commit-Position: refs/heads/master@{#401819}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Remove trace event #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -0 lines) Patch
M third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp View 1 3 chunks +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp View 1 2 chunks +15 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/ParsedChunkQueue.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/ParsedChunkQueue.cpp View 1 4 chunks +19 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 1 chunk +31 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (13 generated)
Charlie Harrison
Kouhei, can you give me some feedback on these statistics? I'm not sure if we ...
4 years, 6 months ago (2016-06-17 06:11:27 UTC) #2
kouhei (in TOK)
On 2016/06/17 06:11:27, csharrison wrote: > Kouhei, can you give me some feedback on these ...
4 years, 6 months ago (2016-06-17 08:42:27 UTC) #4
kouhei (in TOK)
lgtm core/ lgtm
4 years, 6 months ago (2016-06-17 08:42:50 UTC) #5
Charlie Harrison
Thanks! holte@, can you look at histograms.xml?
4 years, 6 months ago (2016-06-17 10:36:37 UTC) #7
kouhei (in TOK)
https://codereview.chromium.org/2078723002/diff/1/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp File third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp (right): https://codereview.chromium.org/2078723002/diff/1/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp#newcode392 third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp:392: TRACE_EVENT0("blink,loading", "HTMLDocumentParser::discardSpeculationsAndResumeFrom"); caseq: Would you review this TRACE_EVENT?
4 years, 6 months ago (2016-06-17 11:20:57 UTC) #9
Steven Holte
lgtm
4 years, 6 months ago (2016-06-17 19:21:18 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2078723002/1
4 years, 6 months ago (2016-06-17 20:39:20 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-17 21:18:25 UTC) #15
Charlie Harrison
On 2016/06/17 21:18:25, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
4 years, 6 months ago (2016-06-22 14:51:42 UTC) #16
Charlie Harrison
Removed the trace event and removed caseq@ from review. I'll upload a followup with this ...
4 years, 6 months ago (2016-06-24 03:55:48 UTC) #19
Charlie Harrison
Removed the trace event and removed caseq@ from review. I'll upload a followup with this ...
4 years, 6 months ago (2016-06-24 03:55:49 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2078723002/20001
4 years, 6 months ago (2016-06-24 03:56:33 UTC) #23
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-24 05:31:11 UTC) #25
commit-bot: I haz the power
4 years, 6 months ago (2016-06-24 05:33:24 UTC) #27
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/cfb243c66139d26bccc8056f34a006d2588e86d3
Cr-Commit-Position: refs/heads/master@{#401819}

Powered by Google App Engine
This is Rietveld 408576698