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

Issue 2691673002: media: Add UMA to record time to GenerateRequest and LoadSession (Closed)

Created:
3 years, 10 months ago by xhwang
Modified:
3 years, 10 months ago
Reviewers:
jrummell, Ilya Sherman
CC:
chromium-reviews, feature-media-reviews_chromium.org, asvitkine+watch_chromium.org, Rintaro Kuroiwa, Haoming Chen
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

media: Add UMA to record time to GenerateRequest and LoadSession This could help us monitor the performance of these two operations on various key systems. In the future, we could also report time spent on other operations like UpdateSession() if needed. BUG=690722 TEST=Manually tested and saw Media.EME.Widevine.TimeTo.GenerateRequest in about://histograms Review-Url: https://codereview.chromium.org/2691673002 Cr-Commit-Position: refs/heads/master@{#449853} Committed: https://chromium.googlesource.com/chromium/src/+/6445a816eea59b22caa418e00be12f1ccf9be21c

Patch Set 1 #

Total comments: 2

Patch Set 2 : comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -19 lines) Patch
M media/blink/cdm_result_promise_helper.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M media/blink/cdm_session_adapter.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M media/blink/cdm_session_adapter.cc View 1 3 chunks +3 lines, -11 lines 0 comments Download
M media/blink/new_session_cdm_result_promise.h View 3 chunks +7 lines, -1 line 0 comments Download
M media/blink/new_session_cdm_result_promise.cc View 1 3 chunks +13 lines, -3 lines 0 comments Download
M media/blink/webcontentdecryptionmodulesession_impl.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 4 chunks +29 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (16 generated)
xhwang
jrummell: PTAL rkuroiwa / hmchen: FYI
3 years, 10 months ago (2017-02-10 22:07:02 UTC) #4
jrummell
lgtm
3 years, 10 months ago (2017-02-11 00:39:17 UTC) #8
xhwang
isherman: Please OWNERS review from UMA's perspective.
3 years, 10 months ago (2017-02-11 00:45:48 UTC) #10
Ilya Sherman
https://codereview.chromium.org/2691673002/diff/1/media/blink/cdm_result_promise_helper.cc File media/blink/cdm_result_promise_helper.cc (right): https://codereview.chromium.org/2691673002/diff/1/media/blink/cdm_result_promise_helper.cc#newcode80 media/blink/cdm_result_promise_helper.cc:80: histogram->AddTime(time); Please use "base::UmaHistogramTimes(name, time);" here.
3 years, 10 months ago (2017-02-11 00:50:54 UTC) #11
xhwang
comments addressed
3 years, 10 months ago (2017-02-11 01:11:14 UTC) #12
xhwang
isherman: PTAL again! https://codereview.chromium.org/2691673002/diff/1/media/blink/cdm_result_promise_helper.cc File media/blink/cdm_result_promise_helper.cc (right): https://codereview.chromium.org/2691673002/diff/1/media/blink/cdm_result_promise_helper.cc#newcode80 media/blink/cdm_result_promise_helper.cc:80: histogram->AddTime(time); On 2017/02/11 00:50:53, Ilya Sherman ...
3 years, 10 months ago (2017-02-11 01:12:45 UTC) #14
Ilya Sherman
Metrics LGTM, thanks.
3 years, 10 months ago (2017-02-11 01:23:41 UTC) #16
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/2691673002/20001
3 years, 10 months ago (2017-02-11 01:27:56 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_TIMED_OUT, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/380825)
3 years, 10 months ago (2017-02-11 07:14:31 UTC) #22
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/2691673002/20001
3 years, 10 months ago (2017-02-11 08:02:52 UTC) #24
commit-bot: I haz the power
3 years, 10 months ago (2017-02-11 09:37:24 UTC) #27
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/6445a816eea59b22caa418e00be1...

Powered by Google App Engine
This is Rietveld 408576698