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

Issue 1925803003: sandwich: Make speed-index and memory measurement optional from run-all (Closed)

Created:
4 years, 7 months ago by gabadie
Modified:
4 years, 7 months ago
Reviewers:
pasko
CC:
chromium-reviews, mikecase+watch_chromium.org, gabadie+watch_chromium.org, jbudorick+watch_chromium.org, lizeb+watch-android-loading_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

sandwich: Make speed-index and memory measurement optional from run-all Before, the run-all sub-command was not recording the speed-index video, and the memory measurements were always done using the memory dump trace events. Memory dump trace event are large and may impact loading performance on low-end devices. This CL makes memory measurement optional and also add the option to measure speed-index in the new command line flag --measure. BUG=582080 Committed: https://crrev.com/413a55d3b89527353ae88aa8f9881b791379f652 Cr-Commit-Position: refs/heads/master@{#390407}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Addresses pasko's comments #

Total comments: 4

Patch Set 3 : Addresses Egor's nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -60 lines) Patch
M tools/android/loading/sandwich.py View 1 2 3 chunks +27 lines, -15 lines 0 comments Download
M tools/android/loading/sandwich_metrics.py View 1 6 chunks +31 lines, -15 lines 0 comments Download
M tools/android/loading/sandwich_metrics_unittest.py View 1 4 chunks +10 lines, -7 lines 0 comments Download
M tools/android/loading/sandwich_runner.py View 1 4 chunks +12 lines, -6 lines 0 comments Download
M tools/android/loading/sandwich_task_builder.py View 1 2 5 chunks +13 lines, -17 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
gabadie
Hey Egor, This CL makes the speed-index and memory measurements optional from the `run-all` sub-command, ...
4 years, 7 months ago (2016-04-28 14:29:33 UTC) #2
pasko
looking good I think it would be easier to follow if PopulateLoadBenchmark just took a ...
4 years, 7 months ago (2016-04-28 15:04:59 UTC) #3
gabadie
Thanks Egor! Indeed the list of transformers is a good idea and I have done ...
4 years, 7 months ago (2016-04-28 15:56:22 UTC) #4
pasko
lgtm https://codereview.chromium.org/1925803003/diff/20001/tools/android/loading/sandwich.py File tools/android/loading/sandwich.py (right): https://codereview.chromium.org/1925803003/diff/20001/tools/android/loading/sandwich.py#newcode311 tools/android/loading/sandwich.py:311: for network_condition in ['Regular4G', 'Regular3G', 'Regular2G']: wondering if ...
4 years, 7 months ago (2016-04-28 16:07:50 UTC) #5
gabadie
Thanks Egor! Uploaded a new revision addressing your nit. Landing. https://codereview.chromium.org/1925803003/diff/20001/tools/android/loading/sandwich.py File tools/android/loading/sandwich.py (right): https://codereview.chromium.org/1925803003/diff/20001/tools/android/loading/sandwich.py#newcode311 ...
4 years, 7 months ago (2016-04-28 16:24:01 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1925803003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1925803003/40001
4 years, 7 months ago (2016-04-28 16:24:16 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-04-28 17:02:36 UTC) #10
commit-bot: I haz the power
4 years, 7 months ago (2016-04-30 17:19:14 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/413a55d3b89527353ae88aa8f9881b791379f652
Cr-Commit-Position: refs/heads/master@{#390407}

Powered by Google App Engine
This is Rietveld 408576698