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

Unified Diff: tools/perf/measurements/smoothness.py

Issue 959063002: key_mobile_sites_smooth: Reload pages before scrolling for LinkedIn and Wowwiki (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use a new benchmark that runs with --page-repeat=2 & --discard-first-results Created 5 years, 10 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
« tools/perf/benchmarks/smoothness.py ('K') | « tools/perf/benchmarks/smoothness.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/measurements/smoothness.py
diff --git a/tools/perf/measurements/smoothness.py b/tools/perf/measurements/smoothness.py
index bdc1c9ab833c0e09bdea41c9e51df5cb5076e0fb..26d8e7bcbcdb8b59aabdcf13ddf503a8fa4fe569 100644
--- a/tools/perf/measurements/smoothness.py
+++ b/tools/perf/measurements/smoothness.py
@@ -44,3 +44,9 @@ class Smoothness(page_test.PageTest):
self._power_metric.Stop(page, tab)
if self._smoothness_controller:
self._smoothness_controller.CleanUp(tab)
+
+
+class SmoothnessDiscardFirstResult(Smoothness):
+ def __init__(self):
+ super(SmoothnessDiscardFirstResult, self).__init__()
+ self._discard_first_result = True
« tools/perf/benchmarks/smoothness.py ('K') | « tools/perf/benchmarks/smoothness.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698