summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/perf/page_sets/data/tough_scheduling_cases.json38
-rw-r--r--tools/perf/page_sets/data/tough_scheduling_cases_001.wpr.sha11
-rw-r--r--tools/perf/page_sets/key_mobile_sites.py6
-rw-r--r--tools/perf/page_sets/tough_scheduling_cases.py16
4 files changed, 55 insertions, 6 deletions
diff --git a/tools/perf/page_sets/data/tough_scheduling_cases.json b/tools/perf/page_sets/data/tough_scheduling_cases.json
new file mode 100644
index 0000000..dfc62a9
--- /dev/null
+++ b/tools/perf/page_sets/data/tough_scheduling_cases.json
@@ -0,0 +1,38 @@
+{
+ "description": "Describes the Web Page Replay archives for a page set. Don't edit by hand! Use record_wpr for updating.",
+ "archives": {
+ "tough_scheduling_cases_001.wpr": [
+ "split_animation.html",
+ "http://www.latimes.com",
+ "touch_handler_scrolling.html?slow_handler",
+ "empty_touch_handler_desktop.html?bounce_desktop_slow_handler",
+ "touch_handler_scrolling.html?janky_handler",
+ "empty_touch_handler.html?slow_handler",
+ "touch_handler_scrolling.html?occasionally_janky_handler",
+ "touch_handler_scrolling.html?medium_handler",
+ "touch_handler_scrolling.html?super_slow_handler",
+ "div_touch_handler.html",
+ "empty_touch_handler_desktop.html?desktop_slow_handler",
+ "raf.html",
+ "simple_text_page.html",
+ "empty_touch_handler.html?bounce",
+ "raf_canvas.html",
+ "raf.html?gpu_bound",
+ "empty_touch_handler.html?baseline",
+ "raf.html?heavy_first_frame",
+ "simple_text_page.html?main_busy",
+ "raf_animation.html",
+ "raf_touch_animation.html",
+ "http://m.espn.go.com/nhl/rankings",
+ "simple_text_page.html?main_very_busy",
+ "sync_scroll_offset.html",
+ "simple_touch_drag.html",
+ "simple_text_page.html?medium_layers",
+ "empty_touch_handler.html?bounce_slow_handler",
+ "raf_touch_animation.html?medium",
+ "simple_text_page.html?many_layers",
+ "raf_touch_animation.html?heavy",
+ "touch_handler_scrolling.html"
+ ]
+ }
+} \ No newline at end of file
diff --git a/tools/perf/page_sets/data/tough_scheduling_cases_001.wpr.sha1 b/tools/perf/page_sets/data/tough_scheduling_cases_001.wpr.sha1
new file mode 100644
index 0000000..7bd31b1
--- /dev/null
+++ b/tools/perf/page_sets/data/tough_scheduling_cases_001.wpr.sha1
@@ -0,0 +1 @@
+e9b4f3cfe57582e701a0c83168a410defa24d944 \ No newline at end of file
diff --git a/tools/perf/page_sets/key_mobile_sites.py b/tools/perf/page_sets/key_mobile_sites.py
index 1c99d60..5a1c6bb 100644
--- a/tools/perf/page_sets/key_mobile_sites.py
+++ b/tools/perf/page_sets/key_mobile_sites.py
@@ -540,11 +540,7 @@ class KeyMobileSitesPageSet(page_set_module.PageSet):
# Why: Top search engine
'http://www.bing.com/search?q=sloths',
# Why: Good example of poor initial scrolling
- 'http://www.latimes.com',
- # Why: Good example of poor initial scrolling
- 'http://ftw.usatoday.com/2014/05/spelling-bee-rules-shenanigans',
- # Why: Good example of poor initial scrolling
- 'http://m.espn.go.com/nhl/rankings'
+ 'http://ftw.usatoday.com/2014/05/spelling-bee-rules-shenanigans'
]
for url in urls_list:
diff --git a/tools/perf/page_sets/tough_scheduling_cases.py b/tools/perf/page_sets/tough_scheduling_cases.py
index f8aeba8..ec951de 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))