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

Issue 2404223003: Modify Blink.Canvas.toDataURL UMA performance metrics (Closed)

Created:
4 years, 2 months ago by xlai (Olivia)
Modified:
4 years, 2 months ago
CC:
chromium-reviews, dshwang, ajuma+watch-canvas_chromium.org, blink-reviews-html_chromium.org, dglazkov+blink, Rik, asvitkine+watch_chromium.org, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Modify Blink.Canvas.toDataURL UMA performance metrics Previously the Blink.Canvas.toDataURL performance metrics is collecting PNG encoding data in many separate buckets, including Blink.Canvas.toDataURL.PNG and all the other unsupported image types. This is because the previous code overlooks that toEncodingMimeType function is converting all unsupported types to "image/png". I corrected this by putting the UMA data tracking code after the toEncodingMimeType function, and also remove those buckets for unsupported image types. BUG=612585 Committed: https://crrev.com/353e43e71ccee2891f9c7484f847eafff2c1d55b Cr-Commit-Position: refs/heads/master@{#425074}

Patch Set 1 #

Patch Set 2 : Instead of remove, modify #

Total comments: 2

Patch Set 3 : obsolete #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -60 lines) Patch
M third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp View 1 2 chunks +24 lines, -55 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 1 chunk +25 lines, -5 lines 0 comments Download

Messages

Total messages: 22 (11 generated)
xlai (Olivia)
4 years, 2 months ago (2016-10-11 21:43:53 UTC) #2
Justin Novosad
lgtm
4 years, 2 months ago (2016-10-11 22:19:44 UTC) #3
xlai (Olivia)
Title and content changed.
4 years, 2 months ago (2016-10-12 15:08:01 UTC) #8
xidachen
On 2016/10/12 15:08:01, xlai (Olivia) wrote: > Title and content changed. Yep, this change makes ...
4 years, 2 months ago (2016-10-12 15:13:32 UTC) #10
jwd
https://codereview.chromium.org/2404223003/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): https://codereview.chromium.org/2404223003/diff/20001/tools/metrics/histograms/histograms.xml#oldcode102562 tools/metrics/histograms/histograms.xml:102562: - <suffix name="Unknown"/> Please mark these as obsolete rather ...
4 years, 2 months ago (2016-10-12 19:01:30 UTC) #11
xlai (Olivia)
https://codereview.chromium.org/2404223003/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): https://codereview.chromium.org/2404223003/diff/20001/tools/metrics/histograms/histograms.xml#oldcode102562 tools/metrics/histograms/histograms.xml:102562: - <suffix name="Unknown"/> On 2016/10/12 19:01:30, jwd wrote: > ...
4 years, 2 months ago (2016-10-12 19:19:11 UTC) #13
Justin Novosad
lgtm
4 years, 2 months ago (2016-10-12 20:56:21 UTC) #14
jwd
lgtm
4 years, 2 months ago (2016-10-13 15:32:09 UTC) #15
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/2404223003/60001
4 years, 2 months ago (2016-10-13 15:44:44 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 2 months ago (2016-10-13 17:22:38 UTC) #20
commit-bot: I haz the power
4 years, 2 months ago (2016-10-13 17:24:25 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/353e43e71ccee2891f9c7484f847eafff2c1d55b
Cr-Commit-Position: refs/heads/master@{#425074}

Powered by Google App Engine
This is Rietveld 408576698