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

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

Issue 2164903002: [PCv2] Migrate tough_layout_cases page set (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased 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 | tools/perf/page_sets/tough_layout_cases.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/page_cycler_v2.py
diff --git a/tools/perf/benchmarks/page_cycler_v2.py b/tools/perf/benchmarks/page_cycler_v2.py
index 9b92c85d456d1e0321976e74eaf9e8381933ca46..15a56be96b0edc7a2141a98bbb74ca408e71d25f 100644
--- a/tools/perf/benchmarks/page_cycler_v2.py
+++ b/tools/perf/benchmarks/page_cycler_v2.py
@@ -155,3 +155,19 @@ class PageCyclerV2Top10Mobile(_PageCyclerV2):
return page_sets.Top10MobilePageSet(run_no_page_interactions=True,
cache_temperatures=[
cache_temperature.PCV1_COLD, cache_temperature.PCV1_WARM])
+
+
+class PageCyclerV2ToughLayoutCases(_PageCyclerV2):
+ """Page loading for the slowest layouts observed in the Alexa top 1 million.
+
+ Recorded in July 2013.
+ """
+ page_set = page_sets.ToughLayoutCasesPageSet
+
+ @classmethod
+ def Name(cls):
+ return 'page_cycler_v2.tough_layout_cases'
+
+ def CreateStorySet(self, options):
+ return page_sets.ToughLayoutCasesPageSet(cache_temperatures=[
+ cache_temperature.PCV1_COLD, cache_temperature.PCV1_WARM])
« no previous file with comments | « no previous file | tools/perf/page_sets/tough_layout_cases.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698