diff options
author | miletus@chromium.org <miletus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-02 00:53:07 +0000 |
---|---|---|
committer | miletus@chromium.org <miletus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-02 00:53:07 +0000 |
commit | 3fdb684a6f8185b0a1c623692bfcddef357fb734 (patch) | |
tree | ccc56d39141259c3d690c0261abb487f4de4dea7 /tools | |
parent | 65623daa16ee516aea778de56cd4f3f33938a496 (diff) | |
download | chromium_src-3fdb684a6f8185b0a1c623692bfcddef357fb734.zip chromium_src-3fdb684a6f8185b0a1c623692bfcddef357fb734.tar.gz chromium_src-3fdb684a6f8185b0a1c623692bfcddef357fb734.tar.bz2 |
Add unit "ms" for metrics (js_)touch_scroll_latency_discrepancy
This also makes it clear that the lower the discrepancy the better the result.
BUG=357214
TEST=run telemetry smoothness on top25.json and check that the discrepancy
has unit 'ms'.
Review URL: https://codereview.chromium.org/221253003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261011 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/metrics/smoothness.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf/metrics/smoothness.py b/tools/perf/metrics/smoothness.py index 28c9ab2..64141e9 100644 --- a/tools/perf/metrics/smoothness.py +++ b/tools/perf/metrics/smoothness.py @@ -27,7 +27,7 @@ class SmoothnessMetric(timeline_based_metric.TimelineBasedMetric): stats.mouse_wheel_scroll_latency) results.Add('mean_mouse_wheel_scroll_latency', 'ms', round(mean_mouse_wheel_scroll_latency, 3)) - results.Add('mouse_wheel_scroll_latency_discrepancy', '', + results.Add('mouse_wheel_scroll_latency_discrepancy', 'ms', round(mouse_wheel_scroll_latency_discrepancy, 4)) if stats.touch_scroll_latency: @@ -37,7 +37,7 @@ class SmoothnessMetric(timeline_based_metric.TimelineBasedMetric): stats.touch_scroll_latency) results.Add('mean_touch_scroll_latency', 'ms', round(mean_touch_scroll_latency, 3)) - results.Add('touch_scroll_latency_discrepancy', '', + results.Add('touch_scroll_latency_discrepancy', 'ms', round(touch_scroll_latency_discrepancy, 4)) if stats.js_touch_scroll_latency: @@ -47,7 +47,7 @@ class SmoothnessMetric(timeline_based_metric.TimelineBasedMetric): stats.js_touch_scroll_latency) results.Add('mean_js_touch_scroll_latency', 'ms', round(mean_js_touch_scroll_latency, 3)) - results.Add('js_touch_scroll_latency_discrepancy', '', + results.Add('js_touch_scroll_latency_discrepancy', 'ms', round(js_touch_scroll_latency_discrepancy, 4)) # List of raw frame times. |