summaryrefslogtreecommitdiffstats
path: root/tools/perf
diff options
context:
space:
mode:
authorpicksi@chromium.org <picksi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-11 23:55:06 +0000
committerpicksi@chromium.org <picksi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-11 23:55:06 +0000
commit0ecd25f99f2d5228e81e2a621146332c94a79f1e (patch)
treed4644faba0f07526b9681ac6c7df15244fcb9f9c /tools/perf
parentc50eb07664e9350672b960e1a91222289bf8e8e4 (diff)
downloadchromium_src-0ecd25f99f2d5228e81e2a621146332c94a79f1e.zip
chromium_src-0ecd25f99f2d5228e81e2a621146332c94a79f1e.tar.gz
chromium_src-0ecd25f99f2d5228e81e2a621146332c94a79f1e.tar.bz2
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
Diffstat (limited to 'tools/perf')
-rw-r--r--tools/perf/page_sets/data/tough_scheduling_cases.json14
-rw-r--r--tools/perf/page_sets/data/tough_scheduling_cases_002.wpr.sha11
-rw-r--r--tools/perf/page_sets/tough_scheduling_cases.py15
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))