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

Issue 2813383002: Do not play the whole media file before seeking. (Closed)

Created:
3 years, 8 months ago by CalebRouleau
Modified:
3 years, 8 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, telemetry-reviews_chromium.org, DaleCurtis, sullivan
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not play the whole media file before seeking. I also fixed some comments and fixed pylint line length errors. This was a bug introduced in crrev/346923003. Originally we would start playing the video and wait until it got to 1 second, and then we would seek around in it. After crrev/346923003 we would instead play the entire video and then seek around in it. sandersd@'s crrev/1962563005 noticed this bug and commented on it, but we haven't gotten around to fixing it until now. This change should reduce load on Speed infra machines by reducing the benchmark duration for tough_video_cases_extra from ~5 minutes to ~3 minutes. we get to skip the initial playback for 14 of the pages in tough_video_cases_extra. the video length of test content is around 10 seconds on average, and this change will make us play only 1 second of the video instead of the whole video before we start seeking. So 14*(10-1) = 126 seconds. Also, I noticed that two of the pages in tough_video_cases are also seeking pages, not time_to_play pages, so this will reduce the runtime for those as well. In addition to reducing the load, this change will also make seek times become the measurement that they were originally supposed to be. Seek time cold currently doesn't actually measure cold seek time because that part of the video that was seeked to was already played once. BUG=711125 Review-Url: https://codereview.chromium.org/2813383002 Cr-Commit-Position: refs/heads/master@{#464288} Committed: https://chromium.googlesource.com/chromium/src/+/6a48a45ac9c3138e306f19df0b3fc1974ffe33ec

Patch Set 1 #

Patch Set 2 : comments and fix lint #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -8 lines) Patch
M tools/perf/page_sets/tough_video_cases.py View 1 5 chunks +15 lines, -8 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
CalebRouleau
PTAL
3 years, 8 months ago (2017-04-13 01:33:58 UTC) #4
nednguyen
On 2017/04/13 01:33:58, crouleau wrote: > PTAL Do we have a cover bug for slimming ...
3 years, 8 months ago (2017-04-13 01:40:34 UTC) #5
CalebRouleau
On 2017/04/13 01:40:34, nednguyen wrote: > On 2017/04/13 01:33:58, crouleau wrote: > > PTAL > ...
3 years, 8 months ago (2017-04-13 02:17:06 UTC) #7
johnchen
LGTM
3 years, 8 months ago (2017-04-13 02:21:42 UTC) #8
nednguyen
lgtm
3 years, 8 months ago (2017-04-13 02:23:46 UTC) #9
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/2813383002/20001
3 years, 8 months ago (2017-04-13 02:49:41 UTC) #11
commit-bot: I haz the power
3 years, 8 months ago (2017-04-13 03:56:51 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/6a48a45ac9c3138e306f19df0b3f...

Powered by Google App Engine
This is Rietveld 408576698