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

Issue 2540763002: Notifications: Split up image loading histograms by image type (Closed)

Created:
4 years ago by johnme
Modified:
4 years ago
CC:
chromium-reviews, blink-reviews, haraken, Peter Beverloo, awdf+watch_chromium.org, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Notifications: Split up image loading histograms by image type It'll be useful to compare timings and byte sizes for the different image types (content image, icon, badge, action icon). BUG=669621, 614456 Committed: https://crrev.com/468ed78ec76f5db7d89a0829b33c0f6427553411 Cr-Commit-Position: refs/heads/master@{#435601}

Patch Set 1 #

Total comments: 20

Patch Set 2 : Address review comment & fix NotificationImageLoaderTest #

Patch Set 3 : NOTIFICATION_HISTOGRAM_COUNTS #

Patch Set 4 : git cl format #

Total comments: 6

Patch Set 5 : Add test #

Total comments: 3

Patch Set 6 : Use histogram_suffixes #

Messages

Total messages: 30 (17 generated)
johnme
4 years ago (2016-11-29 18:31:04 UTC) #2
Peter Beverloo
https://codereview.chromium.org/2540763002/diff/1/third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp File third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp (right): https://codereview.chromium.org/2540763002/diff/1/third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp#newcode29 third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp:29: 1 /* min */, max, 50 /* buckets */)); ...
4 years ago (2016-11-29 19:01:41 UTC) #3
johnme
https://codereview.chromium.org/2540763002/diff/1/third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp File third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp (right): https://codereview.chromium.org/2540763002/diff/1/third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp#newcode29 third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp:29: 1 /* min */, max, 50 /* buckets */)); ...
4 years ago (2016-11-29 20:04:29 UTC) #6
johnme
isherman: please review histograms - thanks :)
4 years ago (2016-11-29 20:05:35 UTC) #8
Peter Beverloo
lgtm https://codereview.chromium.org/2540763002/diff/60001/third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp File third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp (right): https://codereview.chromium.org/2540763002/diff/60001/third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp#newcode24 third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp:24: case NotificationImageLoader::Type::type_name: { \ It's technically not needed ...
4 years ago (2016-11-30 17:44:02 UTC) #13
johnme
Addressed review comments. https://codereview.chromium.org/2540763002/diff/60001/third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp File third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp (right): https://codereview.chromium.org/2540763002/diff/60001/third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp#newcode24 third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp:24: case NotificationImageLoader::Type::type_name: { \ On 2016/11/30 ...
4 years ago (2016-11-30 19:08:36 UTC) #14
Ilya Sherman
metrics LGTM % a comment: https://codereview.chromium.org/2540763002/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2540763002/diff/80001/tools/metrics/histograms/histograms.xml#newcode39210 tools/metrics/histograms/histograms.xml:39210: +</histogram> Could you please ...
4 years ago (2016-12-01 01:00:45 UTC) #19
johnme
https://codereview.chromium.org/2540763002/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2540763002/diff/80001/tools/metrics/histograms/histograms.xml#newcode39210 tools/metrics/histograms/histograms.xml:39210: +</histogram> On 2016/12/01 01:00:45, Ilya Sherman wrote: > Could ...
4 years ago (2016-12-01 11:53:49 UTC) #20
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/2540763002/100001
4 years ago (2016-12-01 11:54:10 UTC) #23
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years ago (2016-12-01 14:01:23 UTC) #26
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/468ed78ec76f5db7d89a0829b33c0f6427553411 Cr-Commit-Position: refs/heads/master@{#435601}
4 years ago (2016-12-01 14:03:44 UTC) #28
jbroman
On 2016/12/01 at 14:03:44, commit-bot wrote: > Patchset 6 (id:??) landed as https://crrev.com/468ed78ec76f5db7d89a0829b33c0f6427553411 > Cr-Commit-Position: ...
4 years ago (2016-12-01 16:21:30 UTC) #29
Ilya Sherman
4 years ago (2016-12-02 01:24:32 UTC) #30
Message was sent while issue was closed.
https://codereview.chromium.org/2540763002/diff/80001/tools/metrics/histogram...
File tools/metrics/histograms/histograms.xml (right):

https://codereview.chromium.org/2540763002/diff/80001/tools/metrics/histogram...
tools/metrics/histograms/histograms.xml:39210: +</histogram>
On 2016/12/01 11:53:49, johnme wrote:
> On 2016/12/01 01:00:45, Ilya Sherman wrote:
> > Could you please use histogram_suffixes to reduce the amount of repetition
> from
> > these histograms?
> 
> Done, though a downside is that histogram_suffixes also generates unsuffixed
> histograms, so there are now histograms called Notifications.LoadFailTime etc
> that will never have data uploaded to them. This seems to affect many other
> users of histogram suffixes from cursory inspection of the UMA dashboard.

Ah, to work around this you can add an attribute base='true'.  It's a recently
added trick =)

Powered by Google App Engine
This is Rietveld 408576698