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. |
""" |