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

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

Issue 572233002: Moving noisy pages (ESPN and LA Times) from key_mobile_sites into tough_scheduling_cases. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moving data to internal bucket in an attempt to fix presubmit issue Created 6 years, 3 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/key_mobile_sites.py ('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 f8aeba87935580d63293aa5ce90c8f4abf0f4ca4..ec951de26673b42858e825ddc90b59f247c2cf73 100644
--- a/tools/perf/page_sets/tough_scheduling_cases.py
+++ b/tools/perf/page_sets/tough_scheduling_cases.py
@@ -9,6 +9,9 @@ class ToughSchedulingCasesPage(page_module.Page):
def __init__(self, url, page_set):
super(ToughSchedulingCasesPage, self).__init__(url=url, page_set=page_set)
+ self.credentials_path = 'data/credentials.json'
+ self.user_agent_type = 'mobile'
+ self.archive_data_file = 'data/tough_scheduling_cases.json'
def RunSmoothness(self, action_runner):
interaction = action_runner.BeginGestureInteraction(
@@ -372,7 +375,11 @@ class ToughSchedulingCasesPageSet(page_set_module.PageSet):
""" Tough scheduler latency test cases """
def __init__(self):
- super(ToughSchedulingCasesPageSet, self).__init__()
+ super(ToughSchedulingCasesPageSet, self).__init__(
+ credentials_path='data/credentials.json',
+ user_agent_type='mobile',
+ archive_data_file='data/tough_scheduling_cases.json',
+ bucket=page_set_module.INTERNAL_BUCKET)
# Why: Simple scrolling baseline
self.AddPage(ToughSchedulingCasesPage(
@@ -469,3 +476,10 @@ class ToughSchedulingCasesPageSet(page_set_module.PageSet):
page_set=self))
# Why: For measuring the latency of scroll-synchronized effects.
self.AddPage(SynchronizedScrollOffsetPage(page_set=self))
+ # Why: Good examples of poor initial scrolling
+ self.AddPage(ToughSchedulingCasesPage(
+ 'http://www.latimes.com',
+ self))
+ self.AddPage(ToughSchedulingCasesPage(
+ 'http://m.espn.go.com/nhl/rankings',
+ self))
« no previous file with comments | « tools/perf/page_sets/key_mobile_sites.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698