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

Issue 902963002: Replace the ExtensionHost load UMAs (Extensions.BackgroundPageLoadTime and friends) (Closed)

Created:
5 years, 10 months ago by not at google - send to devlin
Modified:
5 years, 10 months ago
Reviewers:
Yoyo Zhou, Ilya Sherman
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace the ExtensionHost load UMAs (Extensions.BackgroundPageLoadTime and friends) to measure the time from the URL starting to load to it loading. Extensions.BackgroundPageLoadTime2 replaces Extensions.BackgroundPageLoadTime etc. Previously it measured from ExtensionHost construction to it loading, which is wrong because URL loading can be deferred in a queue, or callers just might not try to load it until later. Also do a bit of UMA cleanup: delete some of the Extension page load UMA that isn't used anymore, and add back the Extensions.PopupLoadTime2 load UMA which was forgotten about at some point. R=yoz@chromium.org, isherman@chromium.org BUG=453073 Committed: https://crrev.com/301145111134ce6d2ccdef5a306d40e2217be051 Cr-Commit-Position: refs/heads/master@{#315149}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : Ready #

Total comments: 9

Patch Set 4 : comments #

Patch Set 5 : extensions.popuploadtime #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -19 lines) Patch
M extensions/browser/extension_host.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/browser/extension_host.cc View 1 2 3 5 chunks +14 lines, -17 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 4 chunks +52 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (5 generated)
not at google - send to devlin
wip. This is the problem I was referring to in crrev.com/874643003. The load UMA is ...
5 years, 10 months ago (2015-02-06 00:55:49 UTC) #2
Yoyo Zhou
LGTM, I do think we want a new metric name because the old one is ...
5 years, 10 months ago (2015-02-06 01:59:12 UTC) #3
Yoyo Zhou
On 2015/02/06 01:59:12, Yoyo Zhou wrote: > LGTM, I do think we want a new ...
5 years, 10 months ago (2015-02-06 02:52:25 UTC) #4
Ilya Sherman
https://codereview.chromium.org/902963002/diff/20001/extensions/browser/extension_host.cc File extensions/browser/extension_host.cc (right): https://codereview.chromium.org/902963002/diff/20001/extensions/browser/extension_host.cc#newcode318 extensions/browser/extension_host.cc:318: since_created_->Elapsed()); If you change what macro is used -- ...
5 years, 10 months ago (2015-02-06 02:56:13 UTC) #5
not at google - send to devlin
Ok, I'm going to add a new UMA and mark the old one in the ...
5 years, 10 months ago (2015-02-06 15:49:45 UTC) #6
not at google - send to devlin
^ don't look at that, upload is for self review only.
5 years, 10 months ago (2015-02-06 20:37:33 UTC) #8
not at google - send to devlin
Ok, here we go. I didn't end up changing the UMA_HISTOGRAM_TIMES to UMA_HISTOGRAM_MEDIUM_TIMES in the ...
5 years, 10 months ago (2015-02-06 20:54:40 UTC) #10
Yoyo Zhou
On 2015/02/06 20:54:40, kalman wrote: > Ok, here we go. > > I didn't end ...
5 years, 10 months ago (2015-02-06 21:18:57 UTC) #11
Ilya Sherman
https://codereview.chromium.org/902963002/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): https://codereview.chromium.org/902963002/diff/60001/tools/metrics/histograms/histograms.xml#oldcode7965 tools/metrics/histograms/histograms.xml:7965: -<histogram name="Extensions.BackgroundPageLoadTime" units="milliseconds"> Please mark the old histogram as ...
5 years, 10 months ago (2015-02-06 21:26:45 UTC) #12
not at google - send to devlin
https://codereview.chromium.org/902963002/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): https://codereview.chromium.org/902963002/diff/60001/tools/metrics/histograms/histograms.xml#oldcode7965 tools/metrics/histograms/histograms.xml:7965: -<histogram name="Extensions.BackgroundPageLoadTime" units="milliseconds"> On 2015/02/06 21:26:44, Ilya Sherman wrote: ...
5 years, 10 months ago (2015-02-06 22:51:07 UTC) #13
not at google - send to devlin
Also changed to MEDIUM.
5 years, 10 months ago (2015-02-06 22:51:15 UTC) #14
Ilya Sherman
Metrics LGTM, thanks. https://codereview.chromium.org/902963002/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/902963002/diff/60001/tools/metrics/histograms/histograms.xml#newcode9014 tools/metrics/histograms/histograms.xml:9014: +<histogram name="Extensions.PopupLoadTime2" units="milliseconds"> On 2015/02/06 22:51:07, ...
5 years, 10 months ago (2015-02-06 23:19:49 UTC) #15
not at google - send to devlin
https://codereview.chromium.org/902963002/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/902963002/diff/60001/tools/metrics/histograms/histograms.xml#newcode9014 tools/metrics/histograms/histograms.xml:9014: +<histogram name="Extensions.PopupLoadTime2" units="milliseconds"> On 2015/02/06 23:19:49, Ilya Sherman wrote: ...
5 years, 10 months ago (2015-02-06 23:32:13 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/902963002/100001
5 years, 10 months ago (2015-02-06 23:54:36 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:100001)
5 years, 10 months ago (2015-02-07 00:43:55 UTC) #20
commit-bot: I haz the power
5 years, 10 months ago (2015-02-07 00:44:54 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/301145111134ce6d2ccdef5a306d40e2217be051
Cr-Commit-Position: refs/heads/master@{#315149}

Powered by Google App Engine
This is Rietveld 408576698