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

Issue 1242263011: Record UMA stats for Blink decoded image types (Closed)

Created:
5 years, 5 months ago by urvang
Modified:
5 years, 4 months ago
Reviewers:
Noel Gordon
CC:
blink-reviews
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Record UMA stats for Blink decoded image types Note: We avoid counting trivial 1x1 images. These can be seen locally at chrome://histograms/Blink Histogram was added here: http://crrev.com/1249273004 BUG=513523 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200090

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Moved logic to BitmapImage to avoid double counting for ICO/CUR #

Total comments: 8

Patch Set 3 : hasVisibleImageSize() helper #

Patch Set 4 : move enum to source file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -0 lines) Patch
M Source/platform/graphics/BitmapImage.cpp View 1 2 3 2 chunks +36 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (9 generated)
urvang
@Noel: Pls review this now that the other patch has landed.
5 years, 4 months ago (2015-07-30 16:06:12 UTC) #7
Noel Gordon
https://codereview.chromium.org/1242263011/diff/100001/Source/platform/image-decoders/ico/ICOImageDecoder.h File Source/platform/image-decoders/ico/ICOImageDecoder.h (right): https://codereview.chromium.org/1242263011/diff/100001/Source/platform/image-decoders/ico/ICOImageDecoder.h#newcode85 Source/platform/image-decoders/ico/ICOImageDecoder.h:85: reportStats(ImageICO); Considering that each ICO decoder has one or ...
5 years, 4 months ago (2015-07-30 18:11:47 UTC) #8
urvang
https://codereview.chromium.org/1242263011/diff/100001/Source/platform/image-decoders/ico/ICOImageDecoder.h File Source/platform/image-decoders/ico/ICOImageDecoder.h (right): https://codereview.chromium.org/1242263011/diff/100001/Source/platform/image-decoders/ico/ICOImageDecoder.h#newcode85 Source/platform/image-decoders/ico/ICOImageDecoder.h:85: reportStats(ImageICO); On 2015/07/30 18:11:47, noel gordon wrote: > Considering ...
5 years, 4 months ago (2015-07-30 18:52:37 UTC) #9
Noel Gordon
On 2015/07/30 18:52:37, urvang wrote: > https://codereview.chromium.org/1242263011/diff/100001/Source/platform/image-decoders/ico/ICOImageDecoder.h > File Source/platform/image-decoders/ico/ICOImageDecoder.h (right): > > https://codereview.chromium.org/1242263011/diff/100001/Source/platform/image-decoders/ico/ICOImageDecoder.h#newcode85 > ...
5 years, 4 months ago (2015-07-30 19:39:42 UTC) #10
Noel Gordon
TL:DR; you change should probably happen around [1] [1] https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/platform/graphics/BitmapImage.cpp&l=342
5 years, 4 months ago (2015-07-30 22:28:09 UTC) #11
urvang
On 2015/07/30 22:28:09, noel gordon wrote: > TL:DR; you change should probably happen around [1] ...
5 years, 4 months ago (2015-07-31 17:04:36 UTC) #12
Noel Gordon
https://codereview.chromium.org/1242263011/diff/120001/Source/platform/graphics/BitmapImage.cpp File Source/platform/graphics/BitmapImage.cpp (right): https://codereview.chromium.org/1242263011/diff/120001/Source/platform/graphics/BitmapImage.cpp#newcode343 Source/platform/graphics/BitmapImage.cpp:343: if (m_sizeAvailable && (size().width() > 1 || size().height() > ...
5 years, 4 months ago (2015-08-01 02:33:07 UTC) #13
urvang
Thanks for the comments! PTAL. https://codereview.chromium.org/1242263011/diff/120001/Source/platform/graphics/BitmapImage.cpp File Source/platform/graphics/BitmapImage.cpp (right): https://codereview.chromium.org/1242263011/diff/120001/Source/platform/graphics/BitmapImage.cpp#newcode343 Source/platform/graphics/BitmapImage.cpp:343: if (m_sizeAvailable && (size().width() ...
5 years, 4 months ago (2015-08-04 20:21:17 UTC) #14
Noel Gordon
> > In that helper, should it be the conjunction, viz., size().width() > N _&&_ ...
5 years, 4 months ago (2015-08-05 02:06:47 UTC) #15
Noel Gordon
On 2015/08/04 20:21:17, urvang wrote: >> N=1 is obvious I suppose, but what value of ...
5 years, 4 months ago (2015-08-05 02:08:49 UTC) #16
Noel Gordon
On 2015/08/04 20:21:17, urvang wrote: > https://codereview.chromium.org/1242263011/diff/120001/Source/platform/graphics/BitmapImage.h#newcode49 > Source/platform/graphics/BitmapImage.h:49: // > tools/metrics/histograms/histograms.xml > On 2015/08/01 ...
5 years, 4 months ago (2015-08-05 02:12:00 UTC) #17
Noel Gordon
On 2015/08/04 20:21:17, urvang wrote: > Thanks for the comments! PTAL. > > https://codereview.chromium.org/1242263011/diff/120001/Source/platform/graphics/BitmapImage.cpp > ...
5 years, 4 months ago (2015-08-05 02:15:27 UTC) #18
urvang
On 2015/08/05 02:15:27, noel gordon wrote: > > I guess my point was these values ...
5 years, 4 months ago (2015-08-05 20:17:15 UTC) #19
Noel Gordon
On 2015/08/05 20:17:15, urvang wrote: > Good idea! Done. LGTM.
5 years, 4 months ago (2015-08-05 23:56:52 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1242263011/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1242263011/160001
5 years, 4 months ago (2015-08-06 00:22:42 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/65210)
5 years, 4 months ago (2015-08-06 02:18:00 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1242263011/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1242263011/160001
5 years, 4 months ago (2015-08-06 02:21:20 UTC) #26
commit-bot: I haz the power
5 years, 4 months ago (2015-08-06 03:04:09 UTC) #27
Message was sent while issue was closed.
Committed patchset #4 (id:160001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=200090

Powered by Google App Engine
This is Rietveld 408576698