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

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

Issue 2203593002: Re-enable some PCv1 benchmarks for CrOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 682e218b0421aa4d8f6f565b06c562fdbb36bb79..21f3449e76b48a3f95bcbcb2731e488fd8d04bb2 100644
--- a/tools/perf/benchmarks/page_cycler.py
+++ b/tools/perf/benchmarks/page_cycler.py
@@ -35,6 +35,32 @@ class _PageCycler(perf_benchmark.PerfBenchmark):
report_speed_index=options.report_speed_index)
+@benchmark.Enabled('chromeos')
+class PageCyclerIntlArFaHe(_PageCycler):
+ """Page load time for a variety of pages in Arabic, Farsi and Hebrew.
+
+ Runs against pages recorded in April, 2013.
+ """
+ page_set = page_sets.IntlArFaHePageSet
+
+ @classmethod
+ def Name(cls):
+ return 'page_cycler.intl_ar_fa_he'
+
+
+@benchmark.Enabled('chromeos')
+class PageCyclerIntlEsFrPtBr(_PageCycler):
+ """Page load time for a pages in Spanish, French and Brazilian Portuguese.
+
+ Runs against pages recorded in April, 2013.
+ """
+ page_set = page_sets.IntlEsFrPtBrPageSet
+
+ @classmethod
+ def Name(cls):
+ return 'page_cycler.intl_es_fr_pt-BR'
+
+
class PageCyclerIntlHiRu(_PageCycler):
"""Page load time benchmark for a variety of pages in Hindi and Russian.
@@ -47,6 +73,29 @@ class PageCyclerIntlHiRu(_PageCycler):
return 'page_cycler.intl_hi_ru'
+@benchmark.Enabled('chromeos')
+class PageCyclerIntlJaZh(_PageCycler):
+ """Page load time benchmark for a variety of pages in Japanese and Chinese.
+
+ Runs against pages recorded in April, 2013.
+ """
+ page_set = page_sets.IntlJaZhPageSet
+
+ @classmethod
+ def Name(cls):
+ return 'page_cycler.intl_ja_zh'
+
+ @classmethod
+ def ValueCanBeAddedPredicate(cls, value, is_first_result):
+ # Filter out vm_private_dirty_final_renderer
+ # crbug.com/551522
+ print '**** %s ***' % value.name
+ filtered_name = (
+ 'vm_private_dirty_final_renderer.vm_private_dirty_final_renderer')
+ return (super(PageCyclerIntlJaZh, cls).ValueCanBeAddedPredicate(
+ value, is_first_result) and value.name != filtered_name)
+
+
class PageCyclerIntlKoThVi(_PageCycler):
"""Page load time for a variety of pages in Korean, Thai and Vietnamese.
« 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