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

Issue 12499006: Telemetry on android: improves RawDisplayFrameRateMeasurement. (Closed)

Created:
7 years, 9 months ago by bulach
Modified:
7 years, 9 months ago
Reviewers:
nduca, Sami, marja
CC:
chromium-reviews, chrome-speed-team+watch_google.com, bulach+watch_chromium.org, yfriedman+watch_chromium.org, klundberg+watch_chromium.org, telemetry+watch_chromium.org, ilevy+watch_chromium.org, frankf+watch_chromium.org, marja
Visibility:
Public.

Description

Telemetry on android: improves RawDisplayFrameRateMeasurement. A few changes here: - move up from "scrolling_action" to "smoothness_benchmark" (which knows about results). - changes surface_stats_collector itself to provide but not print the results. - creates a Telemetry "platform.RawDisplayResult" abstraction so that android_platform_backend.py can use that, and the rest of Telemetry doesn't know about android-specific details. - while at it, also ensure that DidRunAction is in a finally block after RunAction to ensure proper cleanup (if needed). BUG=170894 TEST= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188037

Patch Set 1 #

Total comments: 9

Patch Set 2 : Comments #

Total comments: 1

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -48 lines) Patch
M build/android/pylib/surface_stats_collector.py View 4 chunks +30 lines, -13 lines 0 comments Download
M tools/perf/perf_tools/smoothness_benchmark.py View 1 3 chunks +8 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/chrome/android_platform_backend.py View 1 2 chunks +13 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/core/chrome/cros_platform_backend.py View 1 1 chunk +4 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/core/chrome/linux_platform_backend.py View 1 1 chunk +4 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/core/chrome/mac_platform_backend.py View 1 1 chunk +4 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/core/chrome/platform.py View 1 1 chunk +25 lines, -3 lines 0 comments Download
M tools/telemetry/telemetry/core/chrome/platform_backend.py View 1 1 chunk +4 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/core/chrome/win_platform_backend.py View 1 1 chunk +4 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/page/page_test.py View 1 chunk +4 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/page/scrolling_action.py View 1 2 1 chunk +17 lines, -23 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
bulach
sort of a follow up to sami's fix at https://chromiumcodereview.appspot.com/12432006, this should help better results ...
7 years, 9 months ago (2013-03-08 14:22:11 UTC) #1
Sami
lgtm, I think this makes a lot of sense. Just some nits below. https://codereview.chromium.org/12499006/diff/1/build/android/pylib/surface_stats_collector.py File ...
7 years, 9 months ago (2013-03-08 18:22:20 UTC) #2
Sami
https://codereview.chromium.org/12499006/diff/1/tools/perf/perf_tools/smoothness_benchmark.py File tools/perf/perf_tools/smoothness_benchmark.py (right): https://codereview.chromium.org/12499006/diff/1/tools/perf/perf_tools/smoothness_benchmark.py#newcode209 tools/perf/perf_tools/smoothness_benchmark.py:209: for r in tab.browser.platform.GetRawDisplayFrameRateMeasurement(): On 2013/03/08 18:22:20, Sami wrote: ...
7 years, 9 months ago (2013-03-08 18:23:58 UTC) #3
bulach
thanks sami! all addressed, another look please? https://codereview.chromium.org/12499006/diff/1/build/android/pylib/surface_stats_collector.py File build/android/pylib/surface_stats_collector.py (right): https://codereview.chromium.org/12499006/diff/1/build/android/pylib/surface_stats_collector.py#newcode40 build/android/pylib/surface_stats_collector.py:40: self._print_perf_results = ...
7 years, 9 months ago (2013-03-11 10:18:01 UTC) #4
Sami
On 2013/03/11 10:18:01, bulach wrote: > N-sided patch... :-/ > Telemetry with this patch no ...
7 years, 9 months ago (2013-03-11 10:36:07 UTC) #5
bulach
+marja
7 years, 9 months ago (2013-03-12 13:01:41 UTC) #6
nduca
lgtm this is so much nicer, thank you https://codereview.chromium.org/12499006/diff/7001/build/android/pylib/surface_stats_collector.py File build/android/pylib/surface_stats_collector.py (right): https://codereview.chromium.org/12499006/diff/7001/build/android/pylib/surface_stats_collector.py#newcode67 build/android/pylib/surface_stats_collector.py:67: def ...
7 years, 9 months ago (2013-03-13 05:47:54 UTC) #7
Sami
On 2013/03/13 05:47:54, nduca wrote: > is there any time when this isn't done? Can ...
7 years, 9 months ago (2013-03-13 10:27:38 UTC) #8
marja
Removing myself from the reviewer list, since nduca@ already reviewed.
7 years, 9 months ago (2013-03-13 13:16:31 UTC) #9
bulach
thanks all! I'll land this, as soon as it rolls downstream, I'll fix the API ...
7 years, 9 months ago (2013-03-13 13:46:40 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bulach@chromium.org/12499006/7001
7 years, 9 months ago (2013-03-13 13:47:35 UTC) #11
commit-bot: I haz the power
Failed to apply patch for tools/telemetry/telemetry/page/scrolling_action.py: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 9 months ago (2013-03-13 13:47:41 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bulach@chromium.org/12499006/25001
7 years, 9 months ago (2013-03-13 18:51:42 UTC) #13
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 9 months ago (2013-03-13 23:23:25 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bulach@chromium.org/12499006/25001
7 years, 9 months ago (2013-03-14 09:52:33 UTC) #15
commit-bot: I haz the power
7 years, 9 months ago (2013-03-14 09:57:51 UTC) #16
Message was sent while issue was closed.
Change committed as 188037

Powered by Google App Engine
This is Rietveld 408576698