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

Unified Diff: tools/perf/benchmarks/page_cycler.py

Issue 989773002: Add a slimming paint variant of the typical 25 page cycler benchmark (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-add name Created 5 years, 9 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/benchmarks/page_cycler.py
diff --git a/tools/perf/benchmarks/page_cycler.py b/tools/perf/benchmarks/page_cycler.py
index 103afad32f765a58cc28878c62369563ce6c1c7f..dc7dd713876db19be0473d0f9fc79b0ca858229e 100644
--- a/tools/perf/benchmarks/page_cycler.py
+++ b/tools/perf/benchmarks/page_cycler.py
@@ -229,6 +229,22 @@ class PageCyclerOopifTypical25(_PageCycler):
def CreatePageSet(self, options):
return page_sets.Typical25PageSet(run_no_page_interactions=True)
+# crbug.com/273986: This test is flakey on Windows.
+@benchmark.Disabled('win')
+class PageCyclerSlimmingPaintTypical25(_PageCycler):
+ """A varation of the typical 25 benchmark, but running with
+ --enable-slimming-paint to measure slimming paint.
+ """
+ @classmethod
+ def Name(cls):
+ return 'page_cycler_slimming_paint.typical_25'
+
+ def CustomizeBrowserOptions(self, options):
+ options.AppendExtraBrowserArgs(['--enable-slimming-paint'])
+
+ def CreatePageSet(self, options):
+ return page_sets.Typical25PageSet(run_no_page_interactions=True)
+
@benchmark.Disabled # crbug.com/443730
class PageCyclerBigJs(_PageCycler):
page_set = page_sets.BigJsPageSet
« 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