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

Unified Diff: tools/perf/metrics/speedindex.py

Issue 671913004: Telemetry: Sanitize a key and add description to speedindex metrics (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/metrics/speedindex.py
diff --git a/tools/perf/metrics/speedindex.py b/tools/perf/metrics/speedindex.py
index bfd415842b103586fca0acef8ccddb5ba202d0d8..27d87c6f4223a17d3e8c31c9fbde50b3aa790da5 100644
--- a/tools/perf/metrics/speedindex.py
+++ b/tools/perf/metrics/speedindex.py
@@ -53,7 +53,16 @@ class SpeedIndexMetric(Metric):
# Release the tab so that it can be disconnected.
self._impl = None
results.AddValue(scalar.ScalarValue(
- results.current_page, '%s.speed_index' % chart_name, 'ms', index))
+ results.current_page, '%s_speed_index' % chart_name, 'ms', index,
qyearsley 2014/10/23 17:01:39 This change from %s.speed_index to %s_speed_index
shimazu 2014/10/27 02:33:12 Yes, I saw the result of run_benchmark as 'yourCha
+ description='Speed Index. This focuses on a time when visible parts of '
qyearsley 2014/10/23 17:01:39 a time -> time
shimazu 2014/10/27 02:33:12 Done.
+ 'page are displayed, and this shows the time when the '
+ 'first look is "almost" composed. If you want to get more '
qyearsley 2014/10/23 17:01:39 I'm not sure if this description is accurate. Spee
shimazu 2014/10/27 02:33:11 I tried to add such explanation. I'm not sure how
qyearsley 2014/10/27 02:55:46 I personally think it might be a bit redundant, be
+ 'detail, please refer to http://goo.gl/Rw3d5d . Currently '
qyearsley 2014/10/23 17:01:39 No need for the space between the URL and the dot.
shimazu 2014/10/27 02:33:12 Done.
+ 'there are two implementation: for Android and for '
qyearsley 2014/10/23 17:01:39 implementation -> implementations
shimazu 2014/10/27 02:33:11 Done.
+ 'Desktop. Android version (using video capture) is good '
+ 'index to show the advantage of your patch, but Desktop '
+ 'one (using paint events) is not because of extra overhead '
+ 'to catch paint events.'))
qyearsley 2014/10/23 17:01:39 I wouldn't say the desktop version is "not good",
shimazu 2014/10/27 02:33:12 Done.
def IsFinished(self, tab):
"""Decide whether the timeline recording should be stopped.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698