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

Unified Diff: tools/perf/benchmarks/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
« no previous file with comments | « no previous file | tools/perf/measurements/smoothness.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/smoothness.py
diff --git a/tools/perf/benchmarks/smoothness.py b/tools/perf/benchmarks/smoothness.py
index 1d832b7e589b0c7492d705165f90093ce37416a4..9c13c718022fed77b52afd656d5fbf1a2b62ca99 100644
--- a/tools/perf/benchmarks/smoothness.py
+++ b/tools/perf/benchmarks/smoothness.py
@@ -156,6 +156,25 @@ class SmoothnessSyncScrollKeyMobileSites(benchmark.Benchmark):
@benchmark.Enabled('android')
+class SmoothnessSyncScrollKeyMobileSitesRerun(benchmark.Benchmark):
+ """Same as SmoothnessSyncScrollKeyMobileSites but each page runs twice and
+ only the second run's result is used. This is to test the impact of cache
+ optimization.
+ """
jdduke (slow) 2015/02/27 23:36:03 It seems overkill to repeat the entire pageset (x2
+ tag = 'sync_scroll'
+ test = smoothness.SmoothnessDiscardFirstResult
+ page_set = page_sets.KeyMobileSitesSmoothPageSet
+ options = {'page_repeat': 2}
+
+ def CustomizeBrowserOptions(self, options):
+ silk_flags.CustomizeBrowserOptionsForSyncScrolling(options)
+
+ @classmethod
+ def Name(cls):
+ return 'smoothness.sync_scroll.key_mobile_sites_smooth.rerun'
+
+
+@benchmark.Enabled('android')
class SmoothnessSimpleMobilePages(benchmark.Benchmark):
"""Measures rendering statistics for simple mobile sites page set.
"""
« no previous file with comments | « no previous file | tools/perf/measurements/smoothness.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698