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

Issue 765773004: telemetry: Clean up SurfaceFlinger statistics (Closed)

Created:
6 years ago by ernstm
Modified:
6 years ago
CC:
chromium-reviews, klundberg+watch_chromium.org, telemetry+watch_chromium.org, yfriedman+watch_chromium.org, jbudorick+watch_chromium.org, aelias_OOO_until_Jul13, klobag.chromium, vmiura
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

PERF-SHERIFFS: This patch will change all smoothness and SurfaceFlinger metrics on Android. Some metrics may go up or down significantly, with the new values being more accurate. This patch cleans up the integration of SurfaceFlinger statistics by pulling the raw timestamps into the timeline and calculating all metrics in SmoothnessMetric. This approach also improves the metrics, because the timeline ranges can now be properly bounded (no more percentiles!) and the existing smoothness metrics can also use the more accurate SurfaceFlinger timestamps. BUG=351916 Committed: https://crrev.com/ebae600f54ed1e77eeba916635310fb176c0fb6c Cr-Commit-Position: refs/heads/master@{#308488}

Patch Set 1 #

Patch Set 2 : Merge in SF metrics and clean-up. #

Patch Set 3 : Move surface flinger metrics to SmoothnessMetric and clean up. #

Patch Set 4 : Remove remaining RawDisplayFrameRate methods. #

Patch Set 5 : Add missing filed. #

Patch Set 6 : re-uploading #

Total comments: 10

Patch Set 7 : Add tests and many clean-ups. #

Total comments: 2

Patch Set 8 : clean-up #

Unified diffs Side-by-side diffs Delta from patch set Stats (+341 lines, -433 lines) Patch
M build/android/pylib/perf/surface_stats_collector.py View 1 2 3 4 5 6 7 chunks +17 lines, -138 lines 0 comments Download
D build/android/surface_stats.py View 1 2 3 4 5 6 1 chunk +0 lines, -142 lines 0 comments Download
M tools/perf/measurements/smoothness_controller.py View 1 2 3 4 5 6 4 chunks +13 lines, -31 lines 0 comments Download
M tools/perf/measurements/smoothness_unittest.py View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/platform/__init__.py View 1 2 1 chunk +17 lines, -33 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/android_platform_backend.py View 1 2 3 4 5 6 7 3 chunks +9 lines, -15 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/cros_platform_backend.py View 1 2 3 4 5 6 7 1 chunk +0 lines, -9 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/ios_platform_backend.py View 1 2 3 2 chunks +0 lines, -9 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/linux_platform_backend.py View 1 2 3 1 chunk +0 lines, -9 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/linux_platform_backend_unittest.py View 1 2 3 1 chunk +0 lines, -9 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/mac_platform_backend.py View 1 2 3 1 chunk +0 lines, -9 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/platform_backend.py View 1 2 3 4 5 6 7 1 chunk +3 lines, -6 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/win_platform_backend.py View 1 2 3 4 5 6 7 1 chunk +0 lines, -10 lines 0 comments Download
M tools/telemetry/telemetry/timeline/model.py View 1 4 chunks +14 lines, -1 line 0 comments Download
A tools/telemetry/telemetry/timeline/surface_flinger_importer.py View 1 2 3 4 5 6 1 chunk +39 lines, -0 lines 0 comments Download
A tools/telemetry/telemetry/timeline/surface_flinger_timeline_data.py View 1 2 3 4 5 6 1 chunk +29 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/web_perf/metrics/rendering_stats.py View 1 2 3 chunks +17 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/web_perf/metrics/rendering_stats_unittest.py View 1 2 3 4 5 6 6 chunks +77 lines, -4 lines 0 comments Download
M tools/telemetry/telemetry/web_perf/metrics/smoothness.py View 1 2 3 4 5 6 4 chunks +72 lines, -3 lines 0 comments Download
M tools/telemetry/telemetry/web_perf/metrics/smoothness_unittest.py View 1 2 3 4 5 6 3 chunks +33 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (7 generated)
ernstm
PTAL. (unit test coverage WIP).
6 years ago (2014-12-05 21:03:15 UTC) #2
tonyg
Awesome cleanup. I'll be happy w/ it after tests are in there. https://codereview.chromium.org/765773004/diff/100001/tools/telemetry/telemetry/core/platform/__init__.py File tools/telemetry/telemetry/core/platform/__init__.py ...
6 years ago (2014-12-06 00:52:56 UTC) #3
chrishenry
https://codereview.chromium.org/765773004/diff/100001/tools/telemetry/telemetry/core/platform/__init__.py File tools/telemetry/telemetry/core/platform/__init__.py (right): https://codereview.chromium.org/765773004/diff/100001/tools/telemetry/telemetry/core/platform/__init__.py#newcode105 tools/telemetry/telemetry/core/platform/__init__.py:105: def IsDisplayTracingSupported(self): On 2014/12/06 00:52:56, tonyg wrote: > Should ...
6 years ago (2014-12-06 01:22:38 UTC) #4
nednguyen
+Annie since she will work on ubertracing.
6 years ago (2014-12-08 00:31:14 UTC) #6
ernstm
https://codereview.chromium.org/765773004/diff/100001/tools/telemetry/telemetry/core/platform/__init__.py File tools/telemetry/telemetry/core/platform/__init__.py (right): https://codereview.chromium.org/765773004/diff/100001/tools/telemetry/telemetry/core/platform/__init__.py#newcode105 tools/telemetry/telemetry/core/platform/__init__.py:105: def IsDisplayTracingSupported(self): On 2014/12/06 01:22:38, chrishenry wrote: > On ...
6 years ago (2014-12-08 06:32:01 UTC) #7
Sami
Great cleanup! Is there a way to make build/android/surface_stats.py work in this new world? If ...
6 years ago (2014-12-08 13:37:35 UTC) #9
ernstm
The latest patch set - adds tests for the importer, rendering stats and metric, - ...
6 years ago (2014-12-15 22:30:57 UTC) #10
tonyg
lgtm https://codereview.chromium.org/765773004/diff/120001/tools/telemetry/telemetry/core/platform/android_platform_backend.py File tools/telemetry/telemetry/core/platform/android_platform_backend.py (right): https://codereview.chromium.org/765773004/diff/120001/tools/telemetry/telemetry/core/platform/android_platform_backend.py#newcode99 tools/telemetry/telemetry/core/platform/android_platform_backend.py:99: if (os_version >= 'J'): return bool(self.GetOSVersionName() >= 'J')?
6 years ago (2014-12-15 23:30:03 UTC) #11
ernstm
https://codereview.chromium.org/765773004/diff/120001/tools/telemetry/telemetry/core/platform/android_platform_backend.py File tools/telemetry/telemetry/core/platform/android_platform_backend.py (right): https://codereview.chromium.org/765773004/diff/120001/tools/telemetry/telemetry/core/platform/android_platform_backend.py#newcode99 tools/telemetry/telemetry/core/platform/android_platform_backend.py:99: if (os_version >= 'J'): On 2014/12/15 23:30:03, tonyg wrote: ...
6 years ago (2014-12-15 23:52:11 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/765773004/140001
6 years ago (2014-12-15 23:53:33 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/30646)
6 years ago (2014-12-16 00:06:17 UTC) #16
jbudorick
build/android/ lgtm
6 years ago (2014-12-16 00:09:44 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/765773004/140001
6 years ago (2014-12-16 00:15:29 UTC) #20
commit-bot: I haz the power
Committed patchset #8 (id:140001)
6 years ago (2014-12-16 01:10:58 UTC) #21
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/ebae600f54ed1e77eeba916635310fb176c0fb6c Cr-Commit-Position: refs/heads/master@{#308488}
6 years ago (2014-12-16 01:11:34 UTC) #22
bokan
6 years ago (2014-12-16 16:08:52 UTC) #23
Message was sent while issue was closed.
A revert of this CL (patchset #8 id:140001) has been created in
https://codereview.chromium.org/809753002/ by bokan@chromium.org.

The reason for reverting is: Perf sheriff here, speculatively reverting due to
crbug.com/442752, it shows up in many blamelists (but not all as the test wasn't
running due to another bug). Sorry if unrelated..

Powered by Google App Engine
This is Rietveld 408576698