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

Issue 2250743002: Increase number of buckets for intent-to-first-commit histogram (Closed)

Created:
4 years, 4 months ago by pasko
Modified:
4 years, 2 months ago
CC:
chromium-reviews, lizeb+watch-custom-tabs_chromium.org, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Increase number of buckets for intent-to-first-commit histogram The CustomTabs.IntentToFirstCommitNavigationTime histogram took the number of buckets tuned for typical commit times of 2000ms, this change introduces more detail around the typical times (between 500 and 600 ms). The histogram is split into two versions: zoomed-in (more detail) and zoomed-out (longer range). On top of the original split for herb/custom-tabs it makes 4 histograms in total (using suffixes reduces it to 2 in histograms.xml). BUG=none Committed: https://crrev.com/dd53cb84c484d41c7418c0f1449f4706848c9e8b Cr-Commit-Position: refs/heads/master@{#425008}

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebase #

Patch Set 3 : same renaming for ChromeGeneratedCustomTab. version of the histogram #

Patch Set 4 : cleanup in histograms.xml messages #

Total comments: 4

Patch Set 5 : addressed comments by isherman@ #

Patch Set 6 : split into zoomed-in and zoomed-out view with 150 buckets total #

Total comments: 3

Patch Set 7 : rebase #

Patch Set 8 : shorter histograms.xml with histogram_suffixes, but not too much shorter #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -6 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabObserver.java View 1 2 3 4 5 6 1 chunk +6 lines, -3 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 5 chunks +41 lines, -3 lines 0 comments Download

Messages

Total messages: 39 (20 generated)
pasko
Yusuf: PTaL
4 years, 4 months ago (2016-08-16 17:11:15 UTC) #6
pasko
.. and the formula is explained here: https://codesearch.chromium.org/chromium/src/chrome/android/java/src/org/chromium/chrome/browser/tab/TabWebContentsObserver.java?q=file:chrome/android/java/src/org/chromium/chrome/browser/tab/TabWebContentsObserver.java+didCommitProvisionalLoadForFrame&sq=package:chromium&l=199 (and is probably somewhat wrong .. but ...
4 years, 4 months ago (2016-08-16 17:22:41 UTC) #7
Yusuf
change lgtm, histograms related changes confused me a bit. We should have two histograms, one ...
4 years, 4 months ago (2016-08-17 18:49:23 UTC) #10
pasko
yusufo: PTAL lizeb: I sent this for review when you were out, but since you'd ...
4 years, 4 months ago (2016-08-18 09:44:08 UTC) #12
Benoit L
On 2016/08/18 09:44:08, pasko wrote: > yusufo: PTAL > lizeb: I sent this for review ...
4 years, 4 months ago (2016-08-18 10:05:12 UTC) #13
pasko
isherman: please review changes in histograms.xml
4 years, 4 months ago (2016-08-18 11:25:27 UTC) #15
Ilya Sherman
600 buckets is *a lot*. Please note that there are real memory costs -- both ...
4 years, 4 months ago (2016-08-18 21:54:22 UTC) #16
pasko
On 2016/08/18 21:54:22, Ilya Sherman wrote: > 600 buckets is *a lot*. Please note that ...
4 years, 4 months ago (2016-08-19 16:36:24 UTC) #17
pasko
https://codereview.chromium.org/2250743002/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2250743002/diff/60001/tools/metrics/histograms/histograms.xml#newcode5530 tools/metrics/histograms/histograms.xml:5530: + Deprecated 8/2016. No longer tracked. On 2016/08/18 21:54:21, ...
4 years, 4 months ago (2016-08-19 16:41:03 UTC) #19
Ilya Sherman
On 2016/08/19 16:36:24, pasko wrote: > On 2016/08/18 21:54:22, Ilya Sherman wrote: > > 600 ...
4 years, 4 months ago (2016-08-22 23:31:25 UTC) #23
pasko
On 2016/08/22 23:31:25, Ilya Sherman wrote: > If you believe that you need very fine-grained ...
4 years, 4 months ago (2016-08-23 10:59:31 UTC) #24
pasko
isherman: I reduced the bucket usage to 150 (x2 due to customtabs/herb split) as you ...
4 years, 2 months ago (2016-10-05 15:51:32 UTC) #26
pasko
On 2016/10/05 15:51:32, pasko wrote: > isherman: I reduced the bucket usage to 150 (x2 ...
4 years, 2 months ago (2016-10-10 13:02:43 UTC) #27
Ilya Sherman
Thanks, the zoomed in + zoomed out views lgtm, with one nit inline. And, sorry ...
4 years, 2 months ago (2016-10-13 00:46:57 UTC) #28
pasko
thank you for review https://codereview.chromium.org/2250743002/diff/100001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2250743002/diff/100001/tools/metrics/histograms/histograms.xml#newcode5747 tools/metrics/histograms/histograms.xml:5747: +</histogram> On 2016/10/13 00:46:57, Ilya ...
4 years, 2 months ago (2016-10-13 11:47:09 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2250743002/140001
4 years, 2 months ago (2016-10-13 11:49:06 UTC) #35
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 2 months ago (2016-10-13 12:40:51 UTC) #36
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/dd53cb84c484d41c7418c0f1449f4706848c9e8b Cr-Commit-Position: refs/heads/master@{#425008}
4 years, 2 months ago (2016-10-13 12:42:12 UTC) #38
Ilya Sherman
4 years, 2 months ago (2016-10-13 21:51:04 UTC) #39
Message was sent while issue was closed.
https://codereview.chromium.org/2250743002/diff/100001/tools/metrics/histogra...
File tools/metrics/histograms/histograms.xml (right):

https://codereview.chromium.org/2250743002/diff/100001/tools/metrics/histogra...
tools/metrics/histograms/histograms.xml:5747: +</histogram>
On 2016/10/13 11:47:09, pasko wrote:
> On 2016/10/13 00:46:57, Ilya Sherman wrote:
> > nit: Mebbe use a histogram_suffixes element to reduce the amount of
> duplication?
> 
> Thanks. Done. Is there an easy way to debug suffix expansion with
> histograms.xml?

I think extract_histograms.py expands out all the suffixes?  Otherwise, I'm not
sure about an easy way to debug it, as usually it's pretty straightforward.

Powered by Google App Engine
This is Rietveld 408576698