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

Issue 93733002: [Telemetry] Refactoring in preparation for video-based Speed Index support. (Closed)

Created:
7 years ago by tonyg
Modified:
7 years ago
CC:
chromium-reviews, chrome-speed-team+watch_google.com, telemetry+watch_chromium.org
Visibility:
Public.

Description

[Telemetry] Refactoring in preparation for video-based Speed Index support. 1. Introduce a platform API for video capture. 2. Implement that API for KitKat+ releases of Android. 3. Refactor speed index metric to have Paint Rect and Video impls. Use video when available. BUG=323813 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238270

Patch Set 1 #

Total comments: 13

Patch Set 2 : szym comments #

Patch Set 3 : Use png_bitmap #

Patch Set 4 : Move API to Tab #

Patch Set 5 : Change to generators #

Total comments: 12

Patch Set 6 : Fix lint #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+373 lines, -167 lines) Patch
M tools/perf/metrics/speedindex.py View 1 2 3 4 5 4 chunks +215 lines, -159 lines 0 comments Download
M tools/perf/metrics/speedindex_unittest.py View 4 chunks +45 lines, -6 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/__init__.py View 1 2 3 4 1 chunk +31 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/android_platform_backend.py View 1 2 3 4 4 chunks +34 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/platform_backend.py View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/tab.py View 1 2 3 4 1 chunk +39 lines, -2 lines 1 comment Download

Messages

Total messages: 19 (0 generated)
tonyg
7 years ago (2013-11-28 04:32:40 UTC) #1
bulach
drive-by: https://codereview.chromium.org/93733002/diff/1/tools/telemetry/telemetry/core/platform/android_platform_backend.py File tools/telemetry/telemetry/core/platform/android_platform_backend.py (right): https://codereview.chromium.org/93733002/diff/1/tools/telemetry/telemetry/core/platform/android_platform_backend.py#newcode201 tools/telemetry/telemetry/core/platform/android_platform_backend.py:201: raise NotImplementedError("mp4 video saved to %s, but Telemetry ...
7 years ago (2013-11-28 11:05:23 UTC) #2
szym
https://codereview.chromium.org/93733002/diff/1/tools/perf/metrics/speedindex.py File tools/perf/metrics/speedindex.py (right): https://codereview.chromium.org/93733002/diff/1/tools/perf/metrics/speedindex.py#newcode131 tools/perf/metrics/speedindex.py:131: prev_time = self.GetStartTime() What is GetStartTime for? It's probably ...
7 years ago (2013-11-29 11:05:11 UTC) #3
tonyg
Wonderful review. All comments addressed. https://codereview.chromium.org/93733002/diff/1/tools/perf/metrics/speedindex.py File tools/perf/metrics/speedindex.py (right): https://codereview.chromium.org/93733002/diff/1/tools/perf/metrics/speedindex.py#newcode131 tools/perf/metrics/speedindex.py:131: prev_time = self.GetStartTime() On ...
7 years ago (2013-11-29 20:42:07 UTC) #4
tonyg
> def ReadFrames(inputfile): > size = None > proc = subprocess.Popen(['avconv', '-i', inputfile], > stderr=subprocess.PIPE) ...
7 years ago (2013-11-29 22:14:50 UTC) #5
qyearsley
All changes to speed index LGTM :-) It'll be neat when the video speed index ...
7 years ago (2013-12-02 17:42:25 UTC) #6
tonyg
Cool, thanks for the review. I'll wait for szym to approve too and then land ...
7 years ago (2013-12-02 17:48:56 UTC) #7
bulach
drive-by: https://codereview.chromium.org/93733002/diff/1/tools/telemetry/telemetry/core/platform/android_platform_backend.py File tools/telemetry/telemetry/core/platform/android_platform_backend.py (right): https://codereview.chromium.org/93733002/diff/1/tools/telemetry/telemetry/core/platform/android_platform_backend.py#newcode201 tools/telemetry/telemetry/core/platform/android_platform_backend.py:201: raise NotImplementedError("mp4 video saved to %s, but Telemetry ...
7 years ago (2013-12-02 18:11:58 UTC) #8
tonyg
[+pmeenan] Oops, meant to do that originally.
7 years ago (2013-12-02 19:17:40 UTC) #9
szym
On 2013/11/29 22:14:50, tonyg wrote: > > yield frame_data, size > > I noticed something ...
7 years ago (2013-12-02 19:21:19 UTC) #10
tonyg
On 2013/12/02 19:21:19, szym wrote: > On 2013/11/29 22:14:50, tonyg wrote: > > > yield ...
7 years ago (2013-12-02 19:23:37 UTC) #11
slamm
https://codereview.chromium.org/93733002/diff/80001/tools/perf/metrics/speedindex.py File tools/perf/metrics/speedindex.py (right): https://codereview.chromium.org/93733002/diff/80001/tools/perf/metrics/speedindex.py#newcode38 tools/perf/metrics/speedindex.py:38: PaintRectSpeedIndexImpl(tab)) Given that the two speed indexes have such ...
7 years ago (2013-12-02 22:51:15 UTC) #12
tonyg
Thanks, slamm for the comments! szym, do you think this is good enough to land ...
7 years ago (2013-12-02 23:18:36 UTC) #13
szym
Lgtm On Dec 2, 2013 3:18 PM, <tonyg@chromium.org> wrote: > Thanks, slamm for the comments! ...
7 years ago (2013-12-02 23:38:03 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tonyg@chromium.org/93733002/80001
7 years ago (2013-12-02 23:41:02 UTC) #15
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=38983
7 years ago (2013-12-02 23:58:54 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tonyg@chromium.org/93733002/100001
7 years ago (2013-12-02 23:59:24 UTC) #17
slamm
https://codereview.chromium.org/93733002/diff/80001/tools/perf/metrics/speedindex.py File tools/perf/metrics/speedindex.py (right): https://codereview.chromium.org/93733002/diff/80001/tools/perf/metrics/speedindex.py#newcode38 tools/perf/metrics/speedindex.py:38: PaintRectSpeedIndexImpl(tab)) On 2013/12/02 23:18:36, tonyg wrote: > On 2013/12/02 ...
7 years ago (2013-12-03 01:17:32 UTC) #18
commit-bot: I haz the power
7 years ago (2013-12-03 02:20:07 UTC) #19
Message was sent while issue was closed.
Change committed as 238270

Powered by Google App Engine
This is Rietveld 408576698