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

Issue 23523005: Make recording basic media metrics optional. (Closed)

Created:
7 years, 3 months ago by anandc
Modified:
7 years, 3 months ago
Reviewers:
dtu, tonyg, shadi
CC:
chromium-reviews, chrome-speed-team+watch_google.com
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

At present, we log all the media-metrics that are calculated, for all media actions. There are situations where this may not be ideal: for example, when we perform seek actions and want to only record seek-times. This CL is to make the logging of basic media-metrics optional. By default, these will be logged. BUG=280350 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220869

Patch Set 1 #

Total comments: 2

Patch Set 2 : Try obtaining page-set level properties. #

Total comments: 2

Patch Set 3 : Access page-set property at the start of gathering metrics, to identify whether or not to skip logg… #

Total comments: 2

Patch Set 4 : Remove unused function. #

Patch Set 5 : Resolve merge conflicts. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -7 lines) Patch
M tools/perf/measurements/media.py View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M tools/perf/metrics/media.py View 1 2 3 4 3 chunks +15 lines, -7 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
anandc
Shadi/Dave/Tony: PTAL. Thanks.
7 years, 3 months ago (2013-08-27 23:40:26 UTC) #1
tonyg
https://codereview.chromium.org/23523005/diff/1/tools/perf/metrics/media.py File tools/perf/metrics/media.py (right): https://codereview.chromium.org/23523005/diff/1/tools/perf/metrics/media.py#newcode28 tools/perf/metrics/media.py:28: if hasattr(page, 'skip_basic_metrics'): Where does this come from? Does ...
7 years, 3 months ago (2013-08-28 01:33:49 UTC) #2
anandc
Hi Tony, PTAL at explanation and follow-up comments/question. Thanks. https://codereview.chromium.org/23523005/diff/1/tools/perf/metrics/media.py File tools/perf/metrics/media.py (right): https://codereview.chromium.org/23523005/diff/1/tools/perf/metrics/media.py#newcode28 tools/perf/metrics/media.py:28: ...
7 years, 3 months ago (2013-08-28 17:31:37 UTC) #3
anandc
Hi tonyg@, Could you PTAL at PS#2? Based off similar work in blink_perf.py, etc., I ...
7 years, 3 months ago (2013-08-30 00:19:34 UTC) #4
anandc
On 2013/08/30 00:19:34, anandc wrote: > Hi tonyg@, > > Could you PTAL at PS#2? ...
7 years, 3 months ago (2013-08-30 00:28:23 UTC) #5
tonyg
I'll be out of the office until Tuesday, so Dave should take over this review. ...
7 years, 3 months ago (2013-08-30 03:07:52 UTC) #6
anandc
Thanks a lot, Tony. dtu@: PTAL at PS#3. Now we check at the page-set level ...
7 years, 3 months ago (2013-08-30 16:49:47 UTC) #7
dtu
https://chromiumcodereview.appspot.com/23523005/diff/16001/tools/perf/measurements/media.py File tools/perf/measurements/media.py (right): https://chromiumcodereview.appspot.com/23523005/diff/16001/tools/perf/measurements/media.py#newcode23 tools/perf/measurements/media.py:23: def CreatePageSet(self, args, options): Are you still using this? ...
7 years, 3 months ago (2013-08-30 19:38:34 UTC) #8
anandc
Thanks, Dave. PTAL. https://chromiumcodereview.appspot.com/23523005/diff/16001/tools/perf/measurements/media.py File tools/perf/measurements/media.py (right): https://chromiumcodereview.appspot.com/23523005/diff/16001/tools/perf/measurements/media.py#newcode23 tools/perf/measurements/media.py:23: def CreatePageSet(self, args, options): On 2013/08/30 ...
7 years, 3 months ago (2013-08-30 20:18:51 UTC) #9
dtu
lgtm
7 years, 3 months ago (2013-08-30 21:08:05 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/anandc@chromium.org/23523005/2
7 years, 3 months ago (2013-08-30 21:29:02 UTC) #11
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=150520
7 years, 3 months ago (2013-08-30 23:04:13 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/anandc@chromium.org/23523005/2
7 years, 3 months ago (2013-08-31 00:16:09 UTC) #13
commit-bot: I haz the power
Failed to apply patch for tools/perf/metrics/media.py: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 3 months ago (2013-08-31 00:16:10 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/anandc@chromium.org/23523005/42001
7 years, 3 months ago (2013-09-02 19:00:23 UTC) #15
commit-bot: I haz the power
7 years, 3 months ago (2013-09-02 21:38:01 UTC) #16
Message was sent while issue was closed.
Change committed as 220869

Powered by Google App Engine
This is Rietveld 408576698