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

Issue 1143173009: Add UMA histogram DomDistiller.Time.RunJavaScript (Closed)

Created:
5 years, 6 months ago by wychen
Modified:
5 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, asvitkine+watch_chromium.org, mdjones
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add UMA histogram DomDistiller.Time.RunJavaScript This measures time spent in ExecuteJavaScript() in DomDistiller. It includes JavaScript code transmission through IPC, parsing, compilation, execution, and returning the JSON back through IPC. We already have DomDistiller.Time.DistillationTotal, but it is measured within JavaScript. In DomDistiller.Time.*, DistillationTotal < RunJavaScript < DistillPage. BUG=497430 Committed: https://crrev.com/96a824763c2cbb50b4b0bbad2b7531c3fdd5ce6e Cr-Commit-Position: refs/heads/master@{#333670}

Patch Set 1 #

Patch Set 2 : fix description #

Total comments: 5

Patch Set 3 : fix timestamp comparison #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -2 lines) Patch
M components/dom_distiller/content/distiller_page_web_contents.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/dom_distiller/content/distiller_page_web_contents.cc View 1 2 3 3 chunks +12 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (3 generated)
wychen
PTAL
5 years, 6 months ago (2015-05-29 21:33:44 UTC) #2
wychen
5 years, 6 months ago (2015-05-29 22:00:22 UTC) #3
cjhopman
https://codereview.chromium.org/1143173009/diff/20001/components/dom_distiller/content/distiller_page_web_contents.cc File components/dom_distiller/content/distiller_page_web_contents.cc (right): https://codereview.chromium.org/1143173009/diff/20001/components/dom_distiller/content/distiller_page_web_contents.cc#newcode198 components/dom_distiller/content/distiller_page_web_contents.cc:198: if (javascript_start > base::TimeTicks()) { should this be "> ...
5 years, 6 months ago (2015-06-04 20:38:57 UTC) #4
wychen
https://codereview.chromium.org/1143173009/diff/20001/components/dom_distiller/content/distiller_page_web_contents.cc File components/dom_distiller/content/distiller_page_web_contents.cc (right): https://codereview.chromium.org/1143173009/diff/20001/components/dom_distiller/content/distiller_page_web_contents.cc#newcode198 components/dom_distiller/content/distiller_page_web_contents.cc:198: if (javascript_start > base::TimeTicks()) { On 2015/06/04 20:38:57, cjhopman ...
5 years, 6 months ago (2015-06-05 00:54:19 UTC) #5
cjhopman
https://codereview.chromium.org/1143173009/diff/20001/components/dom_distiller/content/distiller_page_web_contents.cc File components/dom_distiller/content/distiller_page_web_contents.cc (right): https://codereview.chromium.org/1143173009/diff/20001/components/dom_distiller/content/distiller_page_web_contents.cc#newcode198 components/dom_distiller/content/distiller_page_web_contents.cc:198: if (javascript_start > base::TimeTicks()) { On 2015/06/05 00:54:19, wychen ...
5 years, 6 months ago (2015-06-09 22:39:20 UTC) #6
cjhopman
https://codereview.chromium.org/1143173009/diff/20001/components/dom_distiller/content/distiller_page_web_contents.cc File components/dom_distiller/content/distiller_page_web_contents.cc (right): https://codereview.chromium.org/1143173009/diff/20001/components/dom_distiller/content/distiller_page_web_contents.cc#newcode198 components/dom_distiller/content/distiller_page_web_contents.cc:198: if (javascript_start > base::TimeTicks()) { On 2015/06/09 22:39:20, cjhopman ...
5 years, 6 months ago (2015-06-09 22:41:14 UTC) #7
wychen
https://codereview.chromium.org/1143173009/diff/20001/components/dom_distiller/content/distiller_page_web_contents.cc File components/dom_distiller/content/distiller_page_web_contents.cc (right): https://codereview.chromium.org/1143173009/diff/20001/components/dom_distiller/content/distiller_page_web_contents.cc#newcode198 components/dom_distiller/content/distiller_page_web_contents.cc:198: if (javascript_start > base::TimeTicks()) { On 2015/06/09 22:41:14, cjhopman ...
5 years, 6 months ago (2015-06-10 00:31:25 UTC) #8
wychen
+asvitkine as histograms.xml owner.
5 years, 6 months ago (2015-06-10 00:55:31 UTC) #10
Alexei Svitkine (slow)
lgtm
5 years, 6 months ago (2015-06-10 01:01:54 UTC) #11
cjhopman
lgtm
5 years, 6 months ago (2015-06-10 01:04:07 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1143173009/60001
5 years, 6 months ago (2015-06-10 01:10:09 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 6 months ago (2015-06-10 03:13:47 UTC) #15
commit-bot: I haz the power
5 years, 6 months ago (2015-06-10 03:14:46 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/96a824763c2cbb50b4b0bbad2b7531c3fdd5ce6e
Cr-Commit-Position: refs/heads/master@{#333670}

Powered by Google App Engine
This is Rietveld 408576698