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

Issue 178363005: [Telemetry] Measure power in tab_switching measurement (Closed)

Created:
6 years, 10 months ago by jeremy
Modified:
6 years, 9 months ago
Reviewers:
tonyg, qsr
CC:
chromium-reviews, chrome-speed-team+watch_google.com, telemetry+watch_chromium.org, aberent
Visibility:
Public.

Description

[Telemetry] Measure power in tab_switching measurement * Measure power instead of CPU usage in tab switching measurement. * Fix a bug in said measurement where the initial open tab in the browser window was not navigated. * Add a benchmark that switches between 5 blank tabs. BUG=339180 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255925

Patch Set 1 #

Patch Set 2 : Fix copyright year #

Total comments: 11

Patch Set 3 : fix review comments #

Patch Set 4 : Remove extreneous change #

Total comments: 1

Patch Set 5 : fix review comments #

Total comments: 10

Patch Set 6 : Fix review comments #

Patch Set 7 : Just power benchmark files #

Patch Set 8 : Use tab_switching benchmark #

Patch Set 9 : Remove unneeded file #

Patch Set 10 : More iterations #

Total comments: 1

Patch Set 11 : Restart browser after each test iteration #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -10 lines) Patch
M tools/perf/benchmarks/tab_switching.py View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
M tools/perf/measurements/tab_switching.py View 1 2 3 4 5 6 7 8 9 10 2 chunks +25 lines, -10 lines 0 comments Download
A tools/perf/page_sets/five_blank_pages.json View 1 2 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
jeremy
https://codereview.chromium.org/178363005/diff/20001/tools/perf/measurements/power_many_tabs.py File tools/perf/measurements/power_many_tabs.py (right): https://codereview.chromium.org/178363005/diff/20001/tools/perf/measurements/power_many_tabs.py#newcode39 tools/perf/measurements/power_many_tabs.py:39: return self._speedindex_metric.IsFinished(tab) I'm not comfortable using speedindex like this, ...
6 years, 10 months ago (2014-02-25 15:05:00 UTC) #1
qsr
https://codereview.chromium.org/178363005/diff/20001/tools/perf/benchmarks/power.py File tools/perf/benchmarks/power.py (right): https://codereview.chromium.org/178363005/diff/20001/tools/perf/benchmarks/power.py#newcode10 tools/perf/benchmarks/power.py:10: @test.Enabled('mavericks') Should we have a new condition for power? ...
6 years, 10 months ago (2014-02-25 15:11:14 UTC) #2
tonyg
https://codereview.chromium.org/178363005/diff/20001/tools/perf/benchmarks/power.py File tools/perf/benchmarks/power.py (right): https://codereview.chromium.org/178363005/diff/20001/tools/perf/benchmarks/power.py#newcode10 tools/perf/benchmarks/power.py:10: @test.Enabled('mavericks') On 2014/02/25 15:11:15, qsr wrote: > Should we ...
6 years, 10 months ago (2014-02-27 06:42:16 UTC) #3
jeremy
https://codereview.chromium.org/178363005/diff/20001/tools/perf/measurements/power_many_tabs.py File tools/perf/measurements/power_many_tabs.py (right): https://codereview.chromium.org/178363005/diff/20001/tools/perf/measurements/power_many_tabs.py#newcode14 tools/perf/measurements/power_many_tabs.py:14: """Open several blank tabs, measure power after quiesencence.""" On ...
6 years, 9 months ago (2014-02-27 13:41:11 UTC) #4
qsr
https://codereview.chromium.org/178363005/diff/60001/tools/perf/measurements/power_many_tabs.py File tools/perf/measurements/power_many_tabs.py (right): https://codereview.chromium.org/178363005/diff/60001/tools/perf/measurements/power_many_tabs.py#newcode37 tools/perf/measurements/power_many_tabs.py:37: util.WaitFor(tab.HasReachedQuiescence, 60) Should you wait for the quiescence of ...
6 years, 9 months ago (2014-02-27 14:00:52 UTC) #5
jeremy
All fixed, ready for another look
6 years, 9 months ago (2014-02-27 14:43:43 UTC) #6
qsr
LGTM with nit. https://codereview.chromium.org/178363005/diff/80001/tools/telemetry/telemetry/core/web_contents.py File tools/telemetry/telemetry/core/web_contents.py (right): https://codereview.chromium.org/178363005/diff/80001/tools/telemetry/telemetry/core/web_contents.py#newcode58 tools/telemetry/telemetry/core/web_contents.py:58: """Determine whether the page has reached ...
6 years, 9 months ago (2014-02-27 14:57:12 UTC) #7
tonyg
https://codereview.chromium.org/178363005/diff/80001/tools/telemetry/telemetry/core/time_since_last_response.js File tools/telemetry/telemetry/core/time_since_last_response.js (right): https://codereview.chromium.org/178363005/diff/80001/tools/telemetry/telemetry/core/time_since_last_response.js#newcode51 tools/telemetry/telemetry/core/time_since_last_response.js:51: window.timeSinceLastResponseAfterLoadMs = function() { While we are making this ...
6 years, 9 months ago (2014-02-27 19:58:18 UTC) #8
jeremy
All done, split out quiescence-check refactor here: https://codereview.chromium.org/185413005/ https://codereview.chromium.org/178363005/diff/80001/tools/telemetry/telemetry/core/time_since_last_response.js File tools/telemetry/telemetry/core/time_since_last_response.js (right): https://codereview.chromium.org/178363005/diff/80001/tools/telemetry/telemetry/core/time_since_last_response.js#newcode51 tools/telemetry/telemetry/core/time_since_last_response.js:51: window.timeSinceLastResponseAfterLoadMs ...
6 years, 9 months ago (2014-03-02 13:52:28 UTC) #9
jeremy
Ready for another look. Per offline discussion with tonyg@, I've modified this CL to reuse ...
6 years, 9 months ago (2014-03-05 09:33:42 UTC) #10
tonyg
lgtm https://codereview.chromium.org/178363005/diff/170001/tools/perf/measurements/tab_switching.py File tools/perf/measurements/tab_switching.py (right): https://codereview.chromium.org/178363005/diff/170001/tools/perf/measurements/tab_switching.py#newcode38 tools/perf/measurements/tab_switching.py:38: if self._first_page_in_pageset: Nothing for this CL, but just ...
6 years, 9 months ago (2014-03-05 15:50:26 UTC) #11
jeremy
The CQ bit was checked by jeremy@chromium.org
6 years, 9 months ago (2014-03-10 09:12:12 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jeremy@chromium.org/178363005/190001
6 years, 9 months ago (2014-03-10 09:12:27 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-10 09:19:51 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_clang_dbg
6 years, 9 months ago (2014-03-10 09:19:52 UTC) #15
jeremy
The CQ bit was checked by jeremy@chromium.org
6 years, 9 months ago (2014-03-10 09:21:29 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jeremy@chromium.org/178363005/190001
6 years, 9 months ago (2014-03-10 09:22:00 UTC) #17
commit-bot: I haz the power
6 years, 9 months ago (2014-03-10 12:43:44 UTC) #18
Message was sent while issue was closed.
Change committed as 255925

Powered by Google App Engine
This is Rietveld 408576698