diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/page_sets/data/tough_scheduling_cases.json | 14 | ||||
-rw-r--r-- | tools/perf/page_sets/data/tough_scheduling_cases_002.wpr.sha1 | 1 | ||||
-rw-r--r-- | tools/perf/page_sets/tough_scheduling_cases.py | 15 |
3 files changed, 28 insertions, 2 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..63ac503 --- /dev/null +++ b/tools/perf/page_sets/data/tough_scheduling_cases.json @@ -0,0 +1,14 @@ +{ + "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_000.wpr": [ + "http://io9.com/the-10-most-shocking-characters-that-george-r-r-martin-1579481155/tinaamini" + ], + "tough_scheduling_cases_002.wpr": [ + "http://www.latimes.com", + "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" + ] + } +}
\ No newline at end of file diff --git a/tools/perf/page_sets/data/tough_scheduling_cases_002.wpr.sha1 b/tools/perf/page_sets/data/tough_scheduling_cases_002.wpr.sha1 new file mode 100644 index 0000000..012a458 --- /dev/null +++ b/tools/perf/page_sets/data/tough_scheduling_cases_002.wpr.sha1 @@ -0,0 +1 @@ +87ec45f71456eb0c9710ff14d295f788da8f10c4
\ No newline at end of file diff --git a/tools/perf/page_sets/tough_scheduling_cases.py b/tools/perf/page_sets/tough_scheduling_cases.py index 2cc7ca6..f3b5cff 100644 --- a/tools/perf/page_sets/tough_scheduling_cases.py +++ b/tools/perf/page_sets/tough_scheduling_cases.py @@ -331,7 +331,6 @@ class EmptyTouchHandlerPage(ToughSchedulingCasesPage): self.synthetic_delays = { 'blink.HandleInputEvent': {'target_duration': 0.2} } - self.bounce = bounce def RunSmoothness(self, action_runner): @@ -371,7 +370,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 +465,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', + ('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)) |