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

Issue 18341006: SurfaceStats / Telemetry: calculate FPS in different frame buckets. (Closed)

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

Description

SurfaceStats / Telemetry: calculate FPS in different frame buckets. Instead of just calculating FPS over all frames returned by SurfaceFlinger, use the last 90% and the last 50% as well. This allow us to have a better representation and skip the "setup" stage. BUG=256340 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=210583

Patch Set 1 #

Patch Set 2 : Patch #

Total comments: 9

Patch Set 3 : #

Patch Set 4 : All stats #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -32 lines) Patch
M build/android/pylib/surface_stats_collector.py View 1 2 3 2 chunks +52 lines, -28 lines 0 comments Download
M tools/perf/measurements/smoothness.py View 1 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Sami
Thanks, looks like this gives a little more realistic numbers. Would 99% be a too ...
7 years, 5 months ago (2013-07-03 15:11:50 UTC) #1
bulach
thanks sami! questions inline: https://codereview.chromium.org/18341006/diff/2001/build/android/pylib/surface_stats_collector.py File build/android/pylib/surface_stats_collector.py (right): https://codereview.chromium.org/18341006/diff/2001/build/android/pylib/surface_stats_collector.py#newcode90 build/android/pylib/surface_stats_collector.py:90: sliced = timestamps[int(-pct * len(timestamps)) ...
7 years, 5 months ago (2013-07-03 18:09:15 UTC) #2
Sami
https://codereview.chromium.org/18341006/diff/2001/build/android/pylib/surface_stats_collector.py File build/android/pylib/surface_stats_collector.py (right): https://codereview.chromium.org/18341006/diff/2001/build/android/pylib/surface_stats_collector.py#newcode90 build/android/pylib/surface_stats_collector.py:90: sliced = timestamps[int(-pct * len(timestamps)) + 3 : ] ...
7 years, 5 months ago (2013-07-03 18:21:37 UTC) #3
bulach
thanks for the clarifications! added all the measurements for all buckets, ptal.
7 years, 5 months ago (2013-07-04 10:12:31 UTC) #4
Sami
Great, lgtm!
7 years, 5 months ago (2013-07-04 10:26:51 UTC) #5
bulach
+marja for OWNERS in tools/perf/measurements/smoothness.py thanks!
7 years, 5 months ago (2013-07-04 12:34:00 UTC) #6
bulach
+tonyg for OWNERS in tools/perf/measurements/smoothness.py
7 years, 5 months ago (2013-07-08 17:37:04 UTC) #7
tonyg
lgtm
7 years, 5 months ago (2013-07-09 02:50:13 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bulach@chromium.org/18341006/12001
7 years, 5 months ago (2013-07-09 08:07:19 UTC) #9
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 5 months ago (2013-07-09 08:12:02 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/18341006/12001
7 years, 5 months ago (2013-07-09 10:34:02 UTC) #11
commit-bot: I haz the power
Change committed as 210583
7 years, 5 months ago (2013-07-09 17:04:17 UTC) #12
nduca
this patch should not have been lgtmd without reconciling the changes made against mean_frame_time as ...
7 years, 5 months ago (2013-07-09 17:17:16 UTC) #13
bulach
7 years, 5 months ago (2013-07-09 17:37:57 UTC) #14
Message was sent while issue was closed.
sorry nat, feel free to revert if you strongly disagree.

however, please let me give you a few £0.02:
- firstly, this _is_ already android-specific, fwiw.. the SurfaceFlinger is the
only way to measure the "jank"... comparing with measuring page load time is an
exaggeration imho..

- secondly, this did not _change_ existing metrics. on the contrary, I was
reluctant to do that, and instead, _added_ more metrics...

- finally: I agree we could improve the mean_frame_time too, but there's nothing
in this patch that would prevent (or help) that...

wdyt?

Powered by Google App Engine
This is Rietveld 408576698