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

Unified Diff: tools/perf/page_sets/tough_scheduling_cases.py

Issue 372243003: Four new pages added to tough_scheduling_cases (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removal of incorrect WPR file reference Created 6 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 | « tools/perf/page_sets/data/tough_scheduling_cases_000.wpr.sha1 ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/tough_scheduling_cases.py
diff --git a/tools/perf/page_sets/tough_scheduling_cases.py b/tools/perf/page_sets/tough_scheduling_cases.py
index 2cc7ca6f4dff4c7624feb3987dacd72f50bd5efc..55cf280ec6c75446d62d5937c1f9dd5edded7687 100644
--- a/tools/perf/page_sets/tough_scheduling_cases.py
+++ b/tools/perf/page_sets/tough_scheduling_cases.py
@@ -371,7 +371,8 @@ class ToughSchedulingCasesPageSet(page_set_module.PageSet):
""" Tough scheduler latency test cases """
def __init__(self):
- super(ToughSchedulingCasesPageSet, self).__init__()
+ super(ToughSchedulingCasesPageSet, self).__init__(
+ archive_data_file='data/tough_scheduling_cases.json')
# Why: Simple scrolling baseline
self.AddPage(ToughSchedulingCasesPage(
@@ -465,3 +466,14 @@ class ToughSchedulingCasesPageSet(page_set_module.PageSet):
page_set=self))
# Why: For measuring the latency of scroll-synchronized effects.
self.AddPage(SynchronizedScrollOffsetPage(page_set=self))
+
+ real_pages_url_list = [
+ 'http://www.latimes.com',
Sami 2014/07/16 10:32:01 nit: This should use four spaces of indentation.
picksi 2014/07/18 09:23:07 Done.
+ ('http://io9.com/the-10-most-shocking-characters-that-george-r-r-' +
+ 'martin-1579481155/+tinaamini'),
+ 'http://ftw.usatoday.com/2014/05/spelling-bee-rules-shenanigans',
+ 'http://m.espn.go.com/nhl/rankings'
+ ]
+
+ for url in real_pages_url_list:
+ self.AddPage(ToughSchedulingCasesPage(url, self))
« no previous file with comments | « tools/perf/page_sets/data/tough_scheduling_cases_000.wpr.sha1 ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698