Commit 0ecd25f9 authored by picksi@chromium.org's avatar picksi@chromium.org

Four new pages added to tough_scheduling_cases

BUG=391005

Review URL: https://codereview.chromium.org/372243003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282740 0039d316-1c4b-4281-b951-d872f2087c98
parent c50eb076
{
"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
87ec45f71456eb0c9710ff14d295f788da8f10c4
\ No newline at end of file
...@@ -331,7 +331,6 @@ class EmptyTouchHandlerPage(ToughSchedulingCasesPage): ...@@ -331,7 +331,6 @@ class EmptyTouchHandlerPage(ToughSchedulingCasesPage):
self.synthetic_delays = { self.synthetic_delays = {
'blink.HandleInputEvent': {'target_duration': 0.2} 'blink.HandleInputEvent': {'target_duration': 0.2}
} }
self.bounce = bounce self.bounce = bounce
def RunSmoothness(self, action_runner): def RunSmoothness(self, action_runner):
...@@ -371,7 +370,8 @@ class ToughSchedulingCasesPageSet(page_set_module.PageSet): ...@@ -371,7 +370,8 @@ class ToughSchedulingCasesPageSet(page_set_module.PageSet):
""" Tough scheduler latency test cases """ """ Tough scheduler latency test cases """
def __init__(self): def __init__(self):
super(ToughSchedulingCasesPageSet, self).__init__() super(ToughSchedulingCasesPageSet, self).__init__(
archive_data_file='data/tough_scheduling_cases.json')
# Why: Simple scrolling baseline # Why: Simple scrolling baseline
self.AddPage(ToughSchedulingCasesPage( self.AddPage(ToughSchedulingCasesPage(
...@@ -465,3 +465,14 @@ class ToughSchedulingCasesPageSet(page_set_module.PageSet): ...@@ -465,3 +465,14 @@ class ToughSchedulingCasesPageSet(page_set_module.PageSet):
page_set=self)) page_set=self))
# Why: For measuring the latency of scroll-synchronized effects. # Why: For measuring the latency of scroll-synchronized effects.
self.AddPage(SynchronizedScrollOffsetPage(page_set=self)) 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))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment