aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/skp/page_sets
diff options
context:
space:
mode:
authorGravatar borenet <borenet@google.com>2014-10-17 07:37:05 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-10-17 07:37:05 -0700
commitdc89ca56e6f33790cda2cd93ad772ca61497346b (patch)
tree2b63ec98fa187e9c789124795d67b25540140e7c /tools/skp/page_sets
parent25a134d1339bc7693ca96c0d46f64ff9ca52c61b (diff)
Add recreate_skps script
Diffstat (limited to 'tools/skp/page_sets')
-rw-r--r--tools/skp/page_sets/data/README2
-rw-r--r--tools/skp/page_sets/other/DOWN-skia_br337_desktop.json13
-rw-r--r--tools/skp/page_sets/other/FAILING-skia_cnn_nexus10.json17
-rw-r--r--tools/skp/page_sets/other/FAILING-skia_wordpress_desktop.json17
-rw-r--r--tools/skp/page_sets/other/LAYERS-skia_yahoonews_desktop.json13
-rw-r--r--tools/skp/page_sets/other/OLD-skia_desktop_set.json132
-rw-r--r--tools/skp/page_sets/other/OLD-skia_galaxynexus_set.json13
-rw-r--r--tools/skp/page_sets/other/OLD-skia_nexus10_set.json172
-rw-r--r--tools/skp/page_sets/other/TIMINGOUT-skia_transformice_nexus10.json13
-rw-r--r--tools/skp/page_sets/other/skia_maybe_later_set.json12
-rw-r--r--tools/skp/page_sets/other/skia_onlinewsj_nexus10.json18
-rw-r--r--tools/skp/page_sets/skia_amazon_desktop.py45
-rw-r--r--tools/skp/page_sets/skia_androidpolice_nexus10.py46
-rw-r--r--tools/skp/page_sets/skia_baidu_desktop.py45
-rw-r--r--tools/skp/page_sets/skia_blogger_desktop.py46
-rw-r--r--tools/skp/page_sets/skia_booking_desktop.py44
-rw-r--r--tools/skp/page_sets/skia_carsvg_desktop.py44
-rw-r--r--tools/skp/page_sets/skia_chalkboard_desktop.py45
-rw-r--r--tools/skp/page_sets/skia_cnet_nexus10.py44
-rw-r--r--tools/skp/page_sets/skia_css3gradients_desktop.py44
-rw-r--r--tools/skp/page_sets/skia_culturalsolutions_nexus10.py44
-rw-r--r--tools/skp/page_sets/skia_cuteoverload_nexus10.py44
-rw-r--r--tools/skp/page_sets/skia_deviantart_nexus10.py44
-rw-r--r--tools/skp/page_sets/skia_digg_nexus10.py44
-rw-r--r--tools/skp/page_sets/skia_ebay_desktop.py46
-rw-r--r--tools/skp/page_sets/skia_engadget_nexus10.py44
-rw-r--r--tools/skp/page_sets/skia_espn_desktop.py44
-rw-r--r--tools/skp/page_sets/skia_facebook_desktop.py46
-rw-r--r--tools/skp/page_sets/skia_fontwipe_desktop.py45
-rw-r--r--tools/skp/page_sets/skia_forecastio_desktop.py44
-rw-r--r--tools/skp/page_sets/skia_frantzen_nexus10.py44
-rw-r--r--tools/skp/page_sets/skia_gamedeksiam_nexus10.py44
-rw-r--r--tools/skp/page_sets/skia_gmail_nexus10.py45
-rw-r--r--tools/skp/page_sets/skia_gmailthread_desktop.py45
-rw-r--r--tools/skp/page_sets/skia_googleblog_nexus10.py44
-rw-r--r--tools/skp/page_sets/skia_googlecalendar_nexus10.py45
-rw-r--r--tools/skp/page_sets/skia_googlehome_desktop.py44
-rw-r--r--tools/skp/page_sets/skia_googleplus_desktop.py44
-rw-r--r--tools/skp/page_sets/skia_googlespreadsheetdashed_desktop.py46
-rw-r--r--tools/skp/page_sets/skia_gspro_nexus10.py44
-rw-r--r--tools/skp/page_sets/skia_gws_desktop.py44
-rw-r--r--tools/skp/page_sets/skia_hsfi_nexus10.py44
-rw-r--r--tools/skp/page_sets/skia_jsfiddlebigcar_desktop.py44
-rw-r--r--tools/skp/page_sets/skia_jsfiddlehumperclip_desktop.py44
-rw-r--r--tools/skp/page_sets/skia_linkedin_desktop.py44
-rw-r--r--tools/skp/page_sets/skia_mapsvg_desktop.py45
-rw-r--r--tools/skp/page_sets/skia_mercurynews_nexus10.py44
-rw-r--r--tools/skp/page_sets/skia_mlb_nexus10.py44
-rw-r--r--tools/skp/page_sets/skia_mobilenews_desktop.py44
-rw-r--r--tools/skp/page_sets/skia_mozilla_nexus10.py44
-rw-r--r--tools/skp/page_sets/skia_nofolo_nexus10.py44
-rw-r--r--tools/skp/page_sets/skia_nytimes_nexus10.py44
-rw-r--r--tools/skp/page_sets/skia_oldinboxapp_desktop.py45
-rw-r--r--tools/skp/page_sets/skia_pinterest_desktop.py44
-rw-r--r--tools/skp/page_sets/skia_pokemonwiki_desktop.py44
-rw-r--r--tools/skp/page_sets/skia_pravda_nexus10.py44
-rw-r--r--tools/skp/page_sets/skia_rectangletransition_desktop.py45
-rw-r--r--tools/skp/page_sets/skia_sahadan_nexus10.py44
-rw-r--r--tools/skp/page_sets/skia_samoasvg_desktop.py45
-rw-r--r--tools/skp/page_sets/skia_sfgate_desktop.py44
-rw-r--r--tools/skp/page_sets/skia_slashdot_nexus10.py44
-rw-r--r--tools/skp/page_sets/skia_techmeme_nexus10.py44
-rw-r--r--tools/skp/page_sets/skia_tigersvg_desktop.py45
-rw-r--r--tools/skp/page_sets/skia_twitter_desktop.py44
-rw-r--r--tools/skp/page_sets/skia_ukwsj_nexus10.py44
-rw-r--r--tools/skp/page_sets/skia_vnexpress_nexus10.py44
-rw-r--r--tools/skp/page_sets/skia_weather_desktop.py44
-rw-r--r--tools/skp/page_sets/skia_wikipedia_galaxynexus.py44
-rw-r--r--tools/skp/page_sets/skia_worldjournal_nexus10.py44
-rw-r--r--tools/skp/page_sets/skia_wowwiki_desktop.py44
-rw-r--r--tools/skp/page_sets/skia_yahooanswers_desktop.py44
-rw-r--r--tools/skp/page_sets/skia_youtube_desktop.py44
-rw-r--r--tools/skp/page_sets/skia_youtubetvvideo_desktop.py44
73 files changed, 3172 insertions, 0 deletions
diff --git a/tools/skp/page_sets/data/README b/tools/skp/page_sets/data/README
new file mode 100644
index 0000000000..b98644ee17
--- /dev/null
+++ b/tools/skp/page_sets/data/README
@@ -0,0 +1,2 @@
+This directory is used by the webpages_playback.py script to copy over artifacts
+from Google Storage.
diff --git a/tools/skp/page_sets/other/DOWN-skia_br337_desktop.json b/tools/skp/page_sets/other/DOWN-skia_br337_desktop.json
new file mode 100644
index 0000000000..103a64be10
--- /dev/null
+++ b/tools/skp/page_sets/other/DOWN-skia_br337_desktop.json
@@ -0,0 +1,13 @@
+{
+ "description": "br.337 for Skia for Desktop.",
+ "archive_data_file": "data/skia_br337_desktop.json",
+ "credentials_path": "data/credentials.json",
+ "smoothness": { "action": "scroll" },
+ "pages": [
+ {
+ "url": "http://br.337.com/pages/196/DDTank",
+ "wait_seconds": 15.0,
+ "why": "from Tom W's list"
+ }
+ ]
+}
diff --git a/tools/skp/page_sets/other/FAILING-skia_cnn_nexus10.json b/tools/skp/page_sets/other/FAILING-skia_cnn_nexus10.json
new file mode 100644
index 0000000000..77b2851f96
--- /dev/null
+++ b/tools/skp/page_sets/other/FAILING-skia_cnn_nexus10.json
@@ -0,0 +1,17 @@
+{
+ "description": "CNN for Skia for Nexus10.",
+ "archive_data_file": "data/skia_cnn_nexus10.json",
+ "credentials_path": "data/credentials.json",
+ "user_agent_type": "tablet",
+ "smoothness": { "action": "scroll" },
+ "pages": [
+ {
+ "url": "http://www.cnn.com/2012/10/03/politics/michelle-obama-debate/index.html",
+ "why": "#2 news worldwide",
+ "navigate_steps" : [
+ { "action": "navigate" },
+ { "action": "wait", "seconds": 15 }
+ ]
+ }
+ ]
+}
diff --git a/tools/skp/page_sets/other/FAILING-skia_wordpress_desktop.json b/tools/skp/page_sets/other/FAILING-skia_wordpress_desktop.json
new file mode 100644
index 0000000000..a671a5932b
--- /dev/null
+++ b/tools/skp/page_sets/other/FAILING-skia_wordpress_desktop.json
@@ -0,0 +1,17 @@
+{
+ "description": "Wordpress for Skia Desktop.",
+ "archive_data_file": "data/skia_wordpress_desktop.json",
+ "credentials_path": "data/credentials.json",
+ "smoothness": { "action": "scroll" },
+ "pages": [
+ {
+ "name": "Wordpress",
+ "url": "http://en.blog.wordpress.com/2012/09/04/freshly-pressed-editors-picks-for-august-2012/",
+ "why": "#18 (Alexa global), Picked an interesting post",
+ "navigate_steps" : [
+ { "action": "navigate" },
+ { "action": "wait", "seconds": 5 }
+ ]
+ }
+ ]
+}
diff --git a/tools/skp/page_sets/other/LAYERS-skia_yahoonews_desktop.json b/tools/skp/page_sets/other/LAYERS-skia_yahoonews_desktop.json
new file mode 100644
index 0000000000..82d260dee6
--- /dev/null
+++ b/tools/skp/page_sets/other/LAYERS-skia_yahoonews_desktop.json
@@ -0,0 +1,13 @@
+{
+ "description": "Yahoo News for Skia Desktop.",
+ "archive_data_file": "data/skia_yahoonews_desktop.json",
+ "credentials_path": "data/credentials.json",
+ "smoothness": { "action": "scroll" },
+ "pages": [
+ {
+ "url": "http://news.yahoo.com",
+ "wait_seconds": 15.0,
+ "why": "#1 news worldwide (Alexa global)"
+ }
+ ]
+}
diff --git a/tools/skp/page_sets/other/OLD-skia_desktop_set.json b/tools/skp/page_sets/other/OLD-skia_desktop_set.json
new file mode 100644
index 0000000000..8ec91c4fd1
--- /dev/null
+++ b/tools/skp/page_sets/other/OLD-skia_desktop_set.json
@@ -0,0 +1,132 @@
+{
+ "description": "Pages hand-picked for Skia Desktop.",
+ "archive_path": "data/skia_desktop_set.wpr",
+ "credentials_path": "data/credentials.json",
+ "pages": [
+ {
+ "url": "http://ie.microsoft.com/testdrive/Performance/Chalkboard/Images/Chalkboard.svg",
+ "wait_time_after_navigate": 15.0,
+ "why": "from fmalita"
+ },
+ {
+ "url": "https://www.google.com/#hl=en&q=barack+obama",
+ "wait_time_after_navigate": 5.0,
+ "why": "top google property; a google tab is often open"
+ },
+ {
+ "url": "https://plus.google.com/110031535020051778989/posts",
+ "why": "social; top google property; Public profile; infinite scrolls",
+ "wait_time_after_navigate": 5.0,
+ "scroll_is_infinite": true
+ },
+ {
+ "name": "Blogger",
+ "url": "http://googlewebmastercentral.blogspot.com/",
+ "wait_time_after_navigate": 5.0,
+ "why": "#11 (Alexa global), google property; some blogger layouts have infinite scroll but more interesting"
+ },
+ {
+ "name": "Wordpress",
+ "url": "http://en.blog.wordpress.com/2012/09/04/freshly-pressed-editors-picks-for-august-2012/",
+ "wait_time_after_navigate": 5.0,
+ "why": "#18 (Alexa global), Picked an interesting post"
+ },
+ {
+ "name": "Facebook",
+ "url": "http://www.facebook.com/barackobama",
+ "wait_time_after_navigate": 5.0,
+ "why": "top social,Public profile",
+ "credentials": "facebook",
+ "scroll_is_infinite": true,
+ "stress_memory": {
+ "action": "compound_interaction",
+ "actions": [
+ {
+ "action": "click_to_navigate_interaction",
+ "selector": "a[href=\"http://www.facebook.com/WomenforObama\"]"
+ },
+ {
+ "action": "click_to_navigate_interaction",
+ "selector": "a[href=\"http://www.facebook.com/WomenforObama/info\"]"
+ },
+ {
+ "action": "click_to_navigate_interaction",
+ "selector": "a[href=\"http://www.facebook.com/?ref=tn_tnmn\"]"
+ }
+ ]
+ }
+ },
+ {
+ "name": "LinkedIn",
+ "url": "http://www.linkedin.com/in/linustorvalds",
+ "wait_time_after_navigate": 5.0,
+ "why": "#12 (Alexa global),Public profile"
+ },
+ {
+ "name": "Twitter",
+ "url": "http://twitter.com/katyperry",
+ "why": "#8 (Alexa global),Picked an interesting page",
+ "wait_time_after_navigate": 5.0,
+ "scroll_is_infinite": true
+ },
+ {
+ "name": "Pinterest",
+ "url": "http://pinterest.com",
+ "why": "#37 (Alexa global)",
+ "wait_time_after_navigate": 5.0,
+ "scroll_is_infinite": true
+ },
+ {
+ "name": "ESPN",
+ "url": "http://espn.go.com",
+ "wait_time_after_navigate": 5.0,
+ "why": "#1 sports"
+ },
+ {
+ "url": "http://news.yahoo.com",
+ "wait_time_after_navigate": 5.0,
+ "why": "#1 news worldwide (Alexa global)"
+ },
+ {
+ "name": "Weather.com",
+ "url": "http://www.weather.com/weather/right-now/Mountain+View+CA+94043",
+ "wait_time_after_navigate": 5.0,
+ "why": "#7 (Alexa news); #27 total time spent,Picked interesting page"
+ },
+ {
+ "url": "http://www.amazon.com",
+ "wait_time_after_navigate": 5.0,
+ "why": "#1 world commerce website by visits; #3 commerce in the US by time spent"
+ },
+ {
+ "url": "http://games.yahoo.com",
+ "wait_time_after_navigate": 5.0,
+ "why": "#1 games according to Alexa (with actual games in it)"
+ },
+ {
+ "url": "http://booking.com",
+ "wait_time_after_navigate": 5.0,
+ "why": "#1 Alexa recreation"
+ },
+ {
+ "url": "http://answers.yahoo.com",
+ "wait_time_after_navigate": 5.0,
+ "why": "#1 Alexa reference"
+ },
+ {
+ "url": "http://sports.yahoo.com/",
+ "wait_time_after_navigate": 5.0,
+ "why": "#1 Alexa sports"
+ },
+ {
+ "url": "http://techcrunch.com",
+ "wait_time_after_navigate": 5.0,
+ "why": "top tech blog"
+ },
+ {
+ "url": "http://www.baidu.com/s?wd=barack+obama&rsv_bp=0&rsv_spt=3&rsv_sug3=9&rsv_sug=0&rsv_sug4=3824&rsv_sug1=3&inputT=4920",
+ "wait_time_after_navigate": 5.0,
+ "why": "#5 (Alexa) most visited worldwide"
+ }
+ ]
+}
diff --git a/tools/skp/page_sets/other/OLD-skia_galaxynexus_set.json b/tools/skp/page_sets/other/OLD-skia_galaxynexus_set.json
new file mode 100644
index 0000000000..018260f374
--- /dev/null
+++ b/tools/skp/page_sets/other/OLD-skia_galaxynexus_set.json
@@ -0,0 +1,13 @@
+{
+ "description": "Pages hand-picked for Skia for Galaxy Nexus.",
+ "archive_path": "data/skia_galaxynexus_set.wpr",
+ "credentials_path": "data/credentials.json",
+ "user_agent_type": "mobile",
+ "pages": [
+ {
+ "url": "http://en.m.wikipedia.org/wiki/List_of_The_X-Files_episodes#section_2",
+ "wait_time_after_navigate": 5.0,
+ "why": "#6 (Alexa) most visited worldwide; from robertphillips"
+ }
+ ]
+}
diff --git a/tools/skp/page_sets/other/OLD-skia_nexus10_set.json b/tools/skp/page_sets/other/OLD-skia_nexus10_set.json
new file mode 100644
index 0000000000..66f824153d
--- /dev/null
+++ b/tools/skp/page_sets/other/OLD-skia_nexus10_set.json
@@ -0,0 +1,172 @@
+{
+ "description": "Pages hand-picked for Skia for Nexus10.",
+ "archive_path": "data/skia_nexus10_set.wpr",
+ "credentials_path": "data/credentials.json",
+ "user_agent_type": "nexus10",
+ "pages": [
+ {
+ "url": "http://game.deksiam.in.th/",
+ "wait_time_after_navigate": 30.0,
+ "why": "from Tom W's list"
+ },
+ {
+ "url": "http://www.sahadan.com/default.aspx",
+ "wait_time_after_navigate": 15.0,
+ "why": "from Tom W's list"
+ },
+ {
+ "url": "http://techmeme.com/",
+ "wait_time_after_navigate": 5.0,
+ "why": "from klobag"
+ },
+ {
+ "url": "http://www.cnet.com/",
+ "wait_time_after_navigate": 5.0,
+ "why": "from klobag"
+ },
+ {
+ "url": "http://www.androidpolice.com/2012/10/03/rumor-evidence-mounts-that-an-lg-optimus-g-nexus-is-coming-along-with-a-nexus-phone-certification-program/",
+ "wait_time_after_navigate": 5.0,
+ "why": "for Clank CY"
+ },
+ {
+ "url": "http://br.337.com/pages/196/DDTank",
+ "wait_time_after_navigate": 5.0,
+ "why": "from Tom W's list"
+ },
+ {
+ "url": "http://www.cnn.com/2012/10/03/politics/michelle-obama-debate/index.html",
+ "wait_time_after_navigate": 15.0,
+ "why": "#2 news worldwide"
+ },
+ {
+ "url": "http://culturalsolutions.co.uk/",
+ "wait_time_after_navigate": 5.0,
+ "why": "from parallax scrolling thread"
+ },
+ {
+ "url": "http://cuteoverload.com/",
+ "wait_time_after_navigate": 5.0,
+ "why": "for Clank CY"
+ },
+ {
+ "url": "http://digg.com/",
+ "wait_time_after_navigate": 5.0,
+ "why": "for Clank CY"
+ },
+ {
+ "url": "http://www.frantzen-lindeberg.com/se/",
+ "wait_time_after_navigate": 15.0,
+ "why": "http://code.google.com/p/chromium/issues/detail?id=136555"
+ },
+ {
+ "url": "https://mail.google.com/mail/",
+ "wait_time_after_navigate": 30.0,
+ "why": "productivity, top google properties",
+ "credentials": "google",
+ "scrollable_element_function": "function(callback) { gmonkey.load('2.0', function(api) { callback(api.getScrollableElement()); }); }"
+ },
+ {
+ "url": "https://www.google.com/calendar/",
+ "wait_time_after_navigate": 5.0,
+ "why": "productivity, top google properties",
+ "credentials": "google",
+ "scrollable_element_function": "function(callback) { callback(document.getElementById('scrolltimedeventswk')); }"
+ },
+ {
+ "url": "http://googleblog.blogspot.co.uk/",
+ "wait_time_after_navigate": 5.0,
+ "why": "for Clank CY"
+ },
+ {
+ "url": "http://www.gsp.ro/click-less-think-more",
+ "wait_time_after_navigate": 5.0,
+ "why": "for Clank CY"
+ },
+ {
+ "url": "http://www.hs.fi/",
+ "wait_time_after_navigate": 5.0,
+ "why": "for Clank CY"
+ },
+ {
+ "url": "http://mlb.mlb.com/index.jsp",
+ "wait_time_after_navigate": 5.0,
+ "why": "from Arrow scrolling thread"
+ },
+ {
+ "url": "http://nofolo.com/",
+ "wait_time_after_navigate": 5.0,
+ "why": "http://code.google.com/p/chromium/issues/detail?id=136555"
+ },
+ {
+ "url": "http://www.nytimes.com/",
+ "wait_time_after_navigate": 5.0,
+ "why": "for Clank CY"
+ },
+ {
+ "url": "http://planet.mozilla.org/",
+ "wait_time_after_navigate": 5.0,
+ "why": ""
+ },
+ {
+ "url": "http://www.pravda.ru/",
+ "wait_time_after_navigate": 5.0,
+ "why": "cyrillic font test case"
+ },
+ {
+ "url": "http://www.sfgate.com/",
+ "wait_time_after_navigate": 5.0,
+ "why": "from Arrow scrolling thread"
+ },
+ {
+ "url": "http://slashdot.org/",
+ "wait_time_after_navigate": 5.0,
+ "why": ""
+ },
+ {
+ "url": "http://www.theverge.com/",
+ "wait_time_after_navigate": 30.0,
+ "why": "for Clank CY"
+ },
+ {
+ "url": "http://www.transformice.com/",
+ "wait_time_after_navigate": 5.0,
+ "why": "from Tom W's list"
+ },
+ {
+ "url": "http://uk.wsj.com/home-page",
+ "wait_time_after_navigate": 5.0,
+ "why": "for Clank CY"
+ },
+ {
+ "url": "http://vnexpress.net/",
+ "wait_time_after_navigate": 5.0,
+ "why": "from Tom W's list"
+ },
+ {
+ "url": "http://worldjournal.com/",
+ "wait_time_after_navigate": 5.0,
+ "why": "Chinese font test case"
+ },
+ {
+ "url": "http://www.wowwiki.com/World_of_Warcraft:_Mists_of_Pandaria",
+ "wait_time_after_navigate": 5.0,
+ "why": "http://code.google.com/p/chromium/issues/detail?id=136555"
+ },
+ {
+ "url": "http://online.wsj.com/home-page",
+ "wait_time_after_navigate": 5.0,
+ "why": ""
+ },
+ {
+ "url": "http://www.youtube.com/watch?v=PC57z-oDPLs",
+ "wait_time_after_navigate": 5.0,
+ "why": "#3 (Alexa global)"
+ },
+ {
+ "url": "http://www.deviantart.com/",
+ "wait_time_after_navigate": 5.0,
+ "why": "from caryclark"
+ }
+ ]
+}
diff --git a/tools/skp/page_sets/other/TIMINGOUT-skia_transformice_nexus10.json b/tools/skp/page_sets/other/TIMINGOUT-skia_transformice_nexus10.json
new file mode 100644
index 0000000000..4f292606bf
--- /dev/null
+++ b/tools/skp/page_sets/other/TIMINGOUT-skia_transformice_nexus10.json
@@ -0,0 +1,13 @@
+{
+ "description": "Transformice for Skia for Nexus10.",
+ "archive_path": "data/skia_transformice_nexus10.wpr",
+ "credentials_path": "data/credentials.json",
+ "user_agent_type": "nexus10",
+ "pages": [
+ {
+ "url": "http://www.transformice.com/",
+ "wait_time_after_navigate": 30.0,
+ "why": "from Tom W's list"
+ }
+ ]
+}
diff --git a/tools/skp/page_sets/other/skia_maybe_later_set.json b/tools/skp/page_sets/other/skia_maybe_later_set.json
new file mode 100644
index 0000000000..9c04ff0a33
--- /dev/null
+++ b/tools/skp/page_sets/other/skia_maybe_later_set.json
@@ -0,0 +1,12 @@
+{
+ "description": "Pages we may add to the skia sets later.",
+ "archive_path": "data/skia_maybe_later_set.wpr",
+ "credentials_path": "data/credentials.json",
+ "pages": [
+ {
+ "url": "http://habrahabr.ru/post/149892/#habracut",
+ "wait_time_after_navigate": 5.0,
+ "why": "from chrome's list of profiled sites"
+ }
+ ]
+}
diff --git a/tools/skp/page_sets/other/skia_onlinewsj_nexus10.json b/tools/skp/page_sets/other/skia_onlinewsj_nexus10.json
new file mode 100644
index 0000000000..3b5e8e83d2
--- /dev/null
+++ b/tools/skp/page_sets/other/skia_onlinewsj_nexus10.json
@@ -0,0 +1,18 @@
+{
+ "description": "onlinewsj for Skia for Nexus10.",
+ "archive_data_file": "data/skia_onlinewsj_nexus10.json",
+ "credentials_path": "data/credentials.json",
+ "user_agent_type": "tablet",
+ "smoothness": { "action": "scroll" },
+ "pages": [
+ {
+ "url": "http://online.wsj.com/home-page",
+ "why": "",
+ "navigate_steps" : [
+ { "action": "navigate" },
+ { "action": "navigate" },
+ { "action": "wait", "seconds": 60 }
+ ]
+ }
+ ]
+}
diff --git a/tools/skp/page_sets/skia_amazon_desktop.py b/tools/skp/page_sets/skia_amazon_desktop.py
new file mode 100644
index 0000000000..961ea66881
--- /dev/null
+++ b/tools/skp/page_sets/skia_amazon_desktop.py
@@ -0,0 +1,45 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path = 'data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_amazon_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(5)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_amazon_desktop.json')
+
+ urls_list = [
+ # Why: #1 world commerce website by visits; #3 commerce in the US by time
+ # spent.
+ 'http://www.amazon.com',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_androidpolice_nexus10.py b/tools/skp/page_sets/skia_androidpolice_nexus10.py
new file mode 100644
index 0000000000..207bf7a732
--- /dev/null
+++ b/tools/skp/page_sets/skia_androidpolice_nexus10.py
@@ -0,0 +1,46 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'tablet'
+ self.archive_data_file = 'data/skia_androidpolice_nexus10.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(15)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='tablet',
+ archive_data_file='data/skia_androidpolice_nexus10.json')
+
+ urls_list = [
+ # Why: for Clank CY.
+ ('http://www.androidpolice.com/2012/10/03/rumor-evidence-mounts-that-an-'
+ 'lg-optimus-g-nexus-is-coming-along-with-a-nexus-phone-certification-'
+ 'program/'),
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_baidu_desktop.py b/tools/skp/page_sets/skia_baidu_desktop.py
new file mode 100644
index 0000000000..946d5a74a8
--- /dev/null
+++ b/tools/skp/page_sets/skia_baidu_desktop.py
@@ -0,0 +1,45 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_baidu_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(5)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_baidu_desktop.json')
+
+ urls_list = [
+ # Why: #5 (Alexa) most visited worldwide.
+ ('http://www.baidu.com/s?wd=barack+obama&rsv_bp=0&rsv_spt=3&rsv_sug3=9&'
+ 'rsv_sug=0&rsv_sug4=3824&rsv_sug1=3&inputT=4920'),
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_blogger_desktop.py b/tools/skp/page_sets/skia_blogger_desktop.py
new file mode 100644
index 0000000000..801cf0d7f6
--- /dev/null
+++ b/tools/skp/page_sets/skia_blogger_desktop.py
@@ -0,0 +1,46 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_blogger_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(60)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_blogger_desktop.json')
+
+ urls_list = [
+ # Why: #11 (Alexa global), google property; some blogger layouts have
+ # infinite scroll but more interesting
+ 'http://googlewebmastercentral.blogspot.com/',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_booking_desktop.py b/tools/skp/page_sets/skia_booking_desktop.py
new file mode 100644
index 0000000000..8ab54750da
--- /dev/null
+++ b/tools/skp/page_sets/skia_booking_desktop.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_booking_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(5)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_booking_desktop.json')
+
+ urls_list = [
+ # Why: #1 Alexa recreation.
+ 'http://booking.com',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_carsvg_desktop.py b/tools/skp/page_sets/skia_carsvg_desktop.py
new file mode 100644
index 0000000000..13550f516b
--- /dev/null
+++ b/tools/skp/page_sets/skia_carsvg_desktop.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_carsvg_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(5)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_carsvg_desktop.json')
+
+ urls_list = [
+ # Why: from fmalita
+ 'http://codinginparadise.org/projects/svgweb/samples/svg-files/car.svg',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_chalkboard_desktop.py b/tools/skp/page_sets/skia_chalkboard_desktop.py
new file mode 100644
index 0000000000..fab91f6206
--- /dev/null
+++ b/tools/skp/page_sets/skia_chalkboard_desktop.py
@@ -0,0 +1,45 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_chalkboard_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(15)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_chalkboard_desktop.json')
+
+ urls_list = [
+ # Why: from fmalita
+ ('http://ie.microsoft.com/testdrive/Performance/Chalkboard/Images/'
+ 'Chalkboard.svg'),
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_cnet_nexus10.py b/tools/skp/page_sets/skia_cnet_nexus10.py
new file mode 100644
index 0000000000..6672a69335
--- /dev/null
+++ b/tools/skp/page_sets/skia_cnet_nexus10.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'tablet'
+ self.archive_data_file = 'data/skia_cnet_nexus10.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(5)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='tablet',
+ archive_data_file='data/skia_cnet_nexus10.json')
+
+ urls_list = [
+ # Why: from klobag.
+ 'http://www.cnet.com/',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_css3gradients_desktop.py b/tools/skp/page_sets/skia_css3gradients_desktop.py
new file mode 100644
index 0000000000..ef80f5cea9
--- /dev/null
+++ b/tools/skp/page_sets/skia_css3gradients_desktop.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_css3gradients_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(15)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_css3gradients_desktop.json')
+
+ urls_list = [
+ # Why: http://code.google.com/p/chromium/issues/detail?id=168448
+ 'https://www.webkit.org/blog/1424/css3-gradients/',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_culturalsolutions_nexus10.py b/tools/skp/page_sets/skia_culturalsolutions_nexus10.py
new file mode 100644
index 0000000000..4157faaa2d
--- /dev/null
+++ b/tools/skp/page_sets/skia_culturalsolutions_nexus10.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'tablet'
+ self.archive_data_file = 'data/skia_culturalsolutions_nexus10.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(15)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='tablet',
+ archive_data_file='data/skia_culturalsolutions_nexus10.json')
+
+ urls_list = [
+ # Why: from parallax scrolling thread.
+ 'http://culturalsolutions.co.uk/',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_cuteoverload_nexus10.py b/tools/skp/page_sets/skia_cuteoverload_nexus10.py
new file mode 100644
index 0000000000..cc43e858c7
--- /dev/null
+++ b/tools/skp/page_sets/skia_cuteoverload_nexus10.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'tablet'
+ self.archive_data_file = 'data/skia_cuteoverload_nexus10.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(5)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='tablet',
+ archive_data_file='data/skia_cuteoverload_nexus10.json')
+
+ urls_list = [
+ # Why: for Clank CY.
+ 'http://cuteoverload.com/',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_deviantart_nexus10.py b/tools/skp/page_sets/skia_deviantart_nexus10.py
new file mode 100644
index 0000000000..5e5c29a268
--- /dev/null
+++ b/tools/skp/page_sets/skia_deviantart_nexus10.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'tablet'
+ self.archive_data_file = 'data/skia_deviantart_nexus10.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(5)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='tablet',
+ archive_data_file='data/skia_deviantart_nexus10.json')
+
+ urls_list = [
+ # Why: from caryclark
+ 'http://www.deviantart.com/',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_digg_nexus10.py b/tools/skp/page_sets/skia_digg_nexus10.py
new file mode 100644
index 0000000000..dd764b03dd
--- /dev/null
+++ b/tools/skp/page_sets/skia_digg_nexus10.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'tablet'
+ self.archive_data_file = 'data/skia_digg_nexus10.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(5)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='tablet',
+ archive_data_file='data/skia_digg_nexus10.json')
+
+ urls_list = [
+ # Why: from Clank CY.
+ 'http://digg.com/',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_ebay_desktop.py b/tools/skp/page_sets/skia_ebay_desktop.py
new file mode 100644
index 0000000000..4f5adb67fb
--- /dev/null
+++ b/tools/skp/page_sets/skia_ebay_desktop.py
@@ -0,0 +1,46 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_ebay_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(15)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_ebay_desktop.json')
+
+ urls_list = [
+ # Why: #1 commerce website by time spent by users in US.
+ ('http://www.ebay.com/ctg/Harry-Potter-and-Deathly-Hallows-Year-7-J-K-'
+ 'Rowling-2007-Cassette-Unabridged-/123341182?_dmpt=US_Childrens_Books'
+ '&_pcategid=279&_pcatid=4&_refkw=harry+potter+and+the+deathly+hallows'),
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_engadget_nexus10.py b/tools/skp/page_sets/skia_engadget_nexus10.py
new file mode 100644
index 0000000000..65ea2c18ae
--- /dev/null
+++ b/tools/skp/page_sets/skia_engadget_nexus10.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'tablet'
+ self.archive_data_file = 'data/skia_engadget_nexus10.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(15)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='tablet',
+ archive_data_file='data/skia_engadget_nexus10.json')
+
+ urls_list = [
+ # Why: from klobag.
+ 'http://www.engadget.com/',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_espn_desktop.py b/tools/skp/page_sets/skia_espn_desktop.py
new file mode 100644
index 0000000000..5061c55f35
--- /dev/null
+++ b/tools/skp/page_sets/skia_espn_desktop.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_espn_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(5)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_espn_desktop.json')
+
+ urls_list = [
+ # Why: #1 sports.
+ 'http://espn.go.com',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_facebook_desktop.py b/tools/skp/page_sets/skia_facebook_desktop.py
new file mode 100644
index 0000000000..167c37ebb1
--- /dev/null
+++ b/tools/skp/page_sets/skia_facebook_desktop.py
@@ -0,0 +1,46 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json'
+ )
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_facebook_desktop.json'
+ self.credentials = 'facebook'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(5)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_facebook_desktop.json')
+
+ urls_list = [
+ # Why: Top social, public profile.
+ 'http://www.facebook.com/barackobama',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_fontwipe_desktop.py b/tools/skp/page_sets/skia_fontwipe_desktop.py
new file mode 100644
index 0000000000..381a831986
--- /dev/null
+++ b/tools/skp/page_sets/skia_fontwipe_desktop.py
@@ -0,0 +1,45 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_fontwipe_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(5)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_fontwipe_desktop.json')
+
+ urls_list = [
+ # Why: Page from Chromium's silk test cases.
+ ('http://src.chromium.org/chrome/trunk/src/tools/perf/page_sets/'
+ 'key_silk_cases/font_wipe.html'),
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_forecastio_desktop.py b/tools/skp/page_sets/skia_forecastio_desktop.py
new file mode 100644
index 0000000000..8c4d39c684
--- /dev/null
+++ b/tools/skp/page_sets/skia_forecastio_desktop.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_forecastio_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(20)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_forecastio_desktop.json')
+
+ urls_list = [
+ # Why: Page from Chromium's silk test cases
+ 'http://forecast.io?tap',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_frantzen_nexus10.py b/tools/skp/page_sets/skia_frantzen_nexus10.py
new file mode 100644
index 0000000000..4017e25b16
--- /dev/null
+++ b/tools/skp/page_sets/skia_frantzen_nexus10.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'tablet'
+ self.archive_data_file = 'data/skia_frantzen_nexus10.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(15)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='tablet',
+ archive_data_file='data/skia_frantzen_nexus10.json')
+
+ urls_list = [
+ # Why: http://code.google.com/p/chromium/issues/detail?id=136555
+ 'http://www.frantzen-lindeberg.com/se/',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_gamedeksiam_nexus10.py b/tools/skp/page_sets/skia_gamedeksiam_nexus10.py
new file mode 100644
index 0000000000..5e1c52ae95
--- /dev/null
+++ b/tools/skp/page_sets/skia_gamedeksiam_nexus10.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'tablet'
+ self.archive_data_file = 'data/skia_gamedeksiam_nexus10.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(15)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='tablet',
+ archive_data_file='data/skia_gamedeksiam_nexus10.json')
+
+ urls_list = [
+ # Why: from Tom W's list.
+ 'http://game.deksiam.in.th/',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_gmail_nexus10.py b/tools/skp/page_sets/skia_gmail_nexus10.py
new file mode 100644
index 0000000000..2f5f090f5c
--- /dev/null
+++ b/tools/skp/page_sets/skia_gmail_nexus10.py
@@ -0,0 +1,45 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'tablet'
+ self.archive_data_file = 'data/skia_gmail_nexus10.json'
+ self.credentials = 'google'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(10)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='tablet',
+ archive_data_file='data/skia_gmail_nexus10.json')
+
+ urls_list = [
+ # Why: productivity, top google properties
+ 'https://mail.google.com/mail/',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_gmailthread_desktop.py b/tools/skp/page_sets/skia_gmailthread_desktop.py
new file mode 100644
index 0000000000..03409b8287
--- /dev/null
+++ b/tools/skp/page_sets/skia_gmailthread_desktop.py
@@ -0,0 +1,45 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_gmailthread_desktop.json'
+ self.credentials = 'google'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(60)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_gmailthread_desktop.json')
+
+ urls_list = [
+ # Why: productivity, top google properties, long email thread.
+ 'https://mail.google.com/mail/?shva=1#inbox/13ba91194d0b8a2e',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_googleblog_nexus10.py b/tools/skp/page_sets/skia_googleblog_nexus10.py
new file mode 100644
index 0000000000..4e358c23be
--- /dev/null
+++ b/tools/skp/page_sets/skia_googleblog_nexus10.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'tablet'
+ self.archive_data_file = 'data/skia_googleblog_nexus10.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(15)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='tablet',
+ archive_data_file='data/skia_googleblog_nexus10.json')
+
+ urls_list = [
+ # Why: for Clank CY
+ 'http://googleblog.blogspot.co.uk/',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_googlecalendar_nexus10.py b/tools/skp/page_sets/skia_googlecalendar_nexus10.py
new file mode 100644
index 0000000000..41224e332d
--- /dev/null
+++ b/tools/skp/page_sets/skia_googlecalendar_nexus10.py
@@ -0,0 +1,45 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'tablet'
+ self.archive_data_file = 'data/skia_googlecalendar_nexus10.json'
+ self.credentials = 'google'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(5)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='tablet',
+ archive_data_file='data/skia_googlecalendar_nexus10.json')
+
+ urls_list = [
+ # Why: productivity, top google properties
+ 'https://www.google.com/calendar/',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_googlehome_desktop.py b/tools/skp/page_sets/skia_googlehome_desktop.py
new file mode 100644
index 0000000000..35857b3502
--- /dev/null
+++ b/tools/skp/page_sets/skia_googlehome_desktop.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_googlehome_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(5)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_googlehome_desktop.json')
+
+ urls_list = [
+ # Why: top google property; a google tab is often open
+ 'http://www.google.com/',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_googleplus_desktop.py b/tools/skp/page_sets/skia_googleplus_desktop.py
new file mode 100644
index 0000000000..c95166ccc5
--- /dev/null
+++ b/tools/skp/page_sets/skia_googleplus_desktop.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_googleplus_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(5)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_googleplus_desktop.json')
+
+ urls_list = [
+ # Why: social; top google property; Public profile; infinite scrolls
+ 'https://plus.google.com/110031535020051778989/posts',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_googlespreadsheetdashed_desktop.py b/tools/skp/page_sets/skia_googlespreadsheetdashed_desktop.py
new file mode 100644
index 0000000000..079caff771
--- /dev/null
+++ b/tools/skp/page_sets/skia_googlespreadsheetdashed_desktop.py
@@ -0,0 +1,46 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_googlespreadsheetdashed_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(10)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_googlespreadsheetdashed_desktop.json')
+
+ urls_list = [
+ # Why: from Tom W's list.
+ ('https://docs.google.com/spreadsheet/ccc?'
+ 'key=0ApnDjttF0gt9dGpRM0labXFaT3ExSFhWZWstR3dQSWc#gid=0'),
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_gspro_nexus10.py b/tools/skp/page_sets/skia_gspro_nexus10.py
new file mode 100644
index 0000000000..f385d8aa63
--- /dev/null
+++ b/tools/skp/page_sets/skia_gspro_nexus10.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'tablet'
+ self.archive_data_file = 'data/skia_gspro_nexus10.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(5)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='tablet',
+ archive_data_file='data/skia_gspro_nexus10.json')
+
+ urls_list = [
+ # Why: for Clank CY
+ 'http://www.gsp.ro/click-less-think-more',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_gws_desktop.py b/tools/skp/page_sets/skia_gws_desktop.py
new file mode 100644
index 0000000000..195ede9d13
--- /dev/null
+++ b/tools/skp/page_sets/skia_gws_desktop.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_gws_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(5)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_gws_desktop.json')
+
+ urls_list = [
+ # Why: top google property; a google tab is often open
+ 'https://www.google.com/#hl=en&q=barack+obama',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_hsfi_nexus10.py b/tools/skp/page_sets/skia_hsfi_nexus10.py
new file mode 100644
index 0000000000..e2510365bf
--- /dev/null
+++ b/tools/skp/page_sets/skia_hsfi_nexus10.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'tablet'
+ self.archive_data_file = 'data/skia_hsfi_nexus10.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(15)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='tablet',
+ archive_data_file='data/skia_hsfi_nexus10.json')
+
+ urls_list = [
+ # Why: for Clank CY
+ 'http://www.hs.fi/',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_jsfiddlebigcar_desktop.py b/tools/skp/page_sets/skia_jsfiddlebigcar_desktop.py
new file mode 100644
index 0000000000..c9c337bf7d
--- /dev/null
+++ b/tools/skp/page_sets/skia_jsfiddlebigcar_desktop.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_jsfiddlebigcar_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(10)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_jsfiddlebigcar_desktop.json')
+
+ urls_list = [
+ # Why: Page from Chromium's silk test cases
+ 'http://jsfiddle.net/vBQHH/3/embedded/result/',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_jsfiddlehumperclip_desktop.py b/tools/skp/page_sets/skia_jsfiddlehumperclip_desktop.py
new file mode 100644
index 0000000000..b26c5f07a5
--- /dev/null
+++ b/tools/skp/page_sets/skia_jsfiddlehumperclip_desktop.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_jsfiddlehumperclip_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(10)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_jsfiddlehumperclip_desktop.json')
+
+ urls_list = [
+ # Why: Page from Chromium's silk test cases.
+ 'http://jsfiddle.net/humper/cKB9D/3/embedded/result/',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_linkedin_desktop.py b/tools/skp/page_sets/skia_linkedin_desktop.py
new file mode 100644
index 0000000000..f8449cac63
--- /dev/null
+++ b/tools/skp/page_sets/skia_linkedin_desktop.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_linkedin_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(5)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_linkedin_desktop.json')
+
+ urls_list = [
+ # Why: #12 (Alexa global), public profile
+ 'http://www.linkedin.com/in/linustorvalds',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_mapsvg_desktop.py b/tools/skp/page_sets/skia_mapsvg_desktop.py
new file mode 100644
index 0000000000..57130f7ed2
--- /dev/null
+++ b/tools/skp/page_sets/skia_mapsvg_desktop.py
@@ -0,0 +1,45 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_mapsvg_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(10)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_mapsvg_desktop.json')
+
+ urls_list = [
+ # Why: from fmalita
+ ('http://upload.wikimedia.org/wikipedia/commons/6/63/'
+ 'A_large_blank_world_map_with_oceans_marked_in_blue.svg'),
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_mercurynews_nexus10.py b/tools/skp/page_sets/skia_mercurynews_nexus10.py
new file mode 100644
index 0000000000..c161036feb
--- /dev/null
+++ b/tools/skp/page_sets/skia_mercurynews_nexus10.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'tablet'
+ self.archive_data_file = 'data/skia_mercurynews_nexus10.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(15)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='tablet',
+ archive_data_file='data/skia_mercurynews_nexus10.json')
+
+ urls_list = [
+ # Why: from klobag
+ 'http://www.mercurynews.com/',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_mlb_nexus10.py b/tools/skp/page_sets/skia_mlb_nexus10.py
new file mode 100644
index 0000000000..d6326c3663
--- /dev/null
+++ b/tools/skp/page_sets/skia_mlb_nexus10.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'tablet'
+ self.archive_data_file = 'data/skia_mlb_nexus10.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(15)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='tablet',
+ archive_data_file='data/skia_mlb_nexus10.json')
+
+ urls_list = [
+ # Why: from Arrow scrolling thread
+ 'http://mlb.mlb.com/index.jsp',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_mobilenews_desktop.py b/tools/skp/page_sets/skia_mobilenews_desktop.py
new file mode 100644
index 0000000000..dc7e176bf8
--- /dev/null
+++ b/tools/skp/page_sets/skia_mobilenews_desktop.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_mobilenews_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(10)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_mobilenews_desktop.json')
+
+ urls_list = [
+ # Why: Page from Chromium's silk test cases.
+ 'http://mobile-news.sandbox.google.com/news',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_mozilla_nexus10.py b/tools/skp/page_sets/skia_mozilla_nexus10.py
new file mode 100644
index 0000000000..f1a39dd836
--- /dev/null
+++ b/tools/skp/page_sets/skia_mozilla_nexus10.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'tablet'
+ self.archive_data_file = 'data/skia_mozilla_nexus10.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(15)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='tablet',
+ archive_data_file='data/skia_mozilla_nexus10.json')
+
+ urls_list = [
+ # Why:
+ 'http://planet.mozilla.org/',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_nofolo_nexus10.py b/tools/skp/page_sets/skia_nofolo_nexus10.py
new file mode 100644
index 0000000000..986ed371f6
--- /dev/null
+++ b/tools/skp/page_sets/skia_nofolo_nexus10.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'tablet'
+ self.archive_data_file = 'data/skia_nofolo_nexus10.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(15)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='tablet',
+ archive_data_file='data/skia_nofolo_nexus10.json')
+
+ urls_list = [
+ # Why: http://code.google.com/p/chromium/issues/detail?id=136555
+ 'http://nofolo.com/',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_nytimes_nexus10.py b/tools/skp/page_sets/skia_nytimes_nexus10.py
new file mode 100644
index 0000000000..8d9850375c
--- /dev/null
+++ b/tools/skp/page_sets/skia_nytimes_nexus10.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'tablet'
+ self.archive_data_file = 'data/skia_nytimes_nexus10.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(5)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='tablet',
+ archive_data_file='data/skia_nytimes_nexus10.json')
+
+ urls_list = [
+ # Why: for Clank CY
+ 'http://www.nytimes.com/',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_oldinboxapp_desktop.py b/tools/skp/page_sets/skia_oldinboxapp_desktop.py
new file mode 100644
index 0000000000..798a6c869d
--- /dev/null
+++ b/tools/skp/page_sets/skia_oldinboxapp_desktop.py
@@ -0,0 +1,45 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_oldinboxapp_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(5)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_oldinboxapp_desktop.json')
+
+ urls_list = [
+ # Why: Page from Chromium's silk test cases
+ ('http://src.chromium.org/chrome/trunk/src/tools/perf/page_sets/'
+ 'key_silk_cases/old_inbox_app.html'),
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_pinterest_desktop.py b/tools/skp/page_sets/skia_pinterest_desktop.py
new file mode 100644
index 0000000000..218ccab62f
--- /dev/null
+++ b/tools/skp/page_sets/skia_pinterest_desktop.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_pinterest_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(15)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_pinterest_desktop.json')
+
+ urls_list = [
+ # Why: #37 Alexa global
+ 'http://pinterest.com',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_pokemonwiki_desktop.py b/tools/skp/page_sets/skia_pokemonwiki_desktop.py
new file mode 100644
index 0000000000..5d32731a8b
--- /dev/null
+++ b/tools/skp/page_sets/skia_pokemonwiki_desktop.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_pokemonwiki_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(15)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_pokemonwiki_desktop.json')
+
+ urls_list = [
+ # Why: http://code.google.com/p/chromium/issues/detail?id=136555
+ 'http://en.wikipedia.org/wiki/List_of_Pok%C3%A9mon',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_pravda_nexus10.py b/tools/skp/page_sets/skia_pravda_nexus10.py
new file mode 100644
index 0000000000..a7792b1725
--- /dev/null
+++ b/tools/skp/page_sets/skia_pravda_nexus10.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'tablet'
+ self.archive_data_file = 'data/skia_pravda_nexus10.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(10)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='tablet',
+ archive_data_file='data/skia_pravda_nexus10.json')
+
+ urls_list = [
+ # Why: cyrillic font test case
+ 'http://www.pravda.ru/',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_rectangletransition_desktop.py b/tools/skp/page_sets/skia_rectangletransition_desktop.py
new file mode 100644
index 0000000000..1783117608
--- /dev/null
+++ b/tools/skp/page_sets/skia_rectangletransition_desktop.py
@@ -0,0 +1,45 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_rectangletransition_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(5)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_rectangletransition_desktop.json')
+
+ urls_list = [
+ # Why: Page from Chromium's silk test cases
+ ('http://src.chromium.org/chrome/trunk/src/tools/perf/page_sets/'
+ 'key_silk_cases/rectangle_transition.html'),
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_sahadan_nexus10.py b/tools/skp/page_sets/skia_sahadan_nexus10.py
new file mode 100644
index 0000000000..c6c4dcbe98
--- /dev/null
+++ b/tools/skp/page_sets/skia_sahadan_nexus10.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'tablet'
+ self.archive_data_file = 'data/skia_sahadan_nexus10.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(15)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='tablet',
+ archive_data_file='data/skia_sahadan_nexus10.json')
+
+ urls_list = [
+ # Why: from Tom W's list
+ 'http://www.sahadan.com/canli_sonuclar/',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_samoasvg_desktop.py b/tools/skp/page_sets/skia_samoasvg_desktop.py
new file mode 100644
index 0000000000..8242872d0b
--- /dev/null
+++ b/tools/skp/page_sets/skia_samoasvg_desktop.py
@@ -0,0 +1,45 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_samoasvg_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(5)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_samoasvg_desktop.json')
+
+ urls_list = [
+ # Why: from fmalita
+ ('http://upload.wikimedia.org/wikipedia/commons/d/df/'
+ 'Seal_of_American_Samoa.svg'),
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_sfgate_desktop.py b/tools/skp/page_sets/skia_sfgate_desktop.py
new file mode 100644
index 0000000000..892d46794c
--- /dev/null
+++ b/tools/skp/page_sets/skia_sfgate_desktop.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_sfgate_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(15)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_sfgate_desktop.json')
+
+ urls_list = [
+ # Why: from Arrow scrolling thread
+ 'http://www.sfgate.com/',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_slashdot_nexus10.py b/tools/skp/page_sets/skia_slashdot_nexus10.py
new file mode 100644
index 0000000000..1c1a58b2fe
--- /dev/null
+++ b/tools/skp/page_sets/skia_slashdot_nexus10.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'tablet'
+ self.archive_data_file = 'data/skia_slashdot_nexus10.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(5)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='tablet',
+ archive_data_file='data/skia_slashdot_nexus10.json')
+
+ urls_list = [
+ # Why:
+ 'http://slashdot.org/',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_techmeme_nexus10.py b/tools/skp/page_sets/skia_techmeme_nexus10.py
new file mode 100644
index 0000000000..905bd718db
--- /dev/null
+++ b/tools/skp/page_sets/skia_techmeme_nexus10.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'tablet'
+ self.archive_data_file = 'data/skia_techmeme_nexus10.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(5)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='tablet',
+ archive_data_file='data/skia_techmeme_nexus10.json')
+
+ urls_list = [
+ # Why: from klobag
+ 'http://techmeme.com/',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_tigersvg_desktop.py b/tools/skp/page_sets/skia_tigersvg_desktop.py
new file mode 100644
index 0000000000..fede7404e6
--- /dev/null
+++ b/tools/skp/page_sets/skia_tigersvg_desktop.py
@@ -0,0 +1,45 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_tigersvg_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(5)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_tigersvg_desktop.json')
+
+ urls_list = [
+ # Why: from fmalita
+ ('http://upload.wikimedia.org/wikipedia/commons/f/fd/'
+ 'Ghostscript_Tiger.svg'),
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_twitter_desktop.py b/tools/skp/page_sets/skia_twitter_desktop.py
new file mode 100644
index 0000000000..8500137893
--- /dev/null
+++ b/tools/skp/page_sets/skia_twitter_desktop.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_twitter_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(5)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_twitter_desktop.json')
+
+ urls_list = [
+ # Why: #8 (Alexa global), picked an interesting page
+ 'http://twitter.com/katyperry',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_ukwsj_nexus10.py b/tools/skp/page_sets/skia_ukwsj_nexus10.py
new file mode 100644
index 0000000000..abc0b3a120
--- /dev/null
+++ b/tools/skp/page_sets/skia_ukwsj_nexus10.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'tablet'
+ self.archive_data_file = 'data/skia_ukwsj_nexus10.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(15)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='tablet',
+ archive_data_file='data/skia_ukwsj_nexus10.json')
+
+ urls_list = [
+ # Why: for Clank CY
+ 'http://uk.wsj.com/home-page',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_vnexpress_nexus10.py b/tools/skp/page_sets/skia_vnexpress_nexus10.py
new file mode 100644
index 0000000000..781e24a543
--- /dev/null
+++ b/tools/skp/page_sets/skia_vnexpress_nexus10.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'tablet'
+ self.archive_data_file = 'data/skia_vnexpress_nexus10.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(15)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='tablet',
+ archive_data_file='data/skia_vnexpress_nexus10.json')
+
+ urls_list = [
+ # Why: from Tom W's list
+ 'http://vnexpress.net/',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_weather_desktop.py b/tools/skp/page_sets/skia_weather_desktop.py
new file mode 100644
index 0000000000..13d838938a
--- /dev/null
+++ b/tools/skp/page_sets/skia_weather_desktop.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_weather_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(15)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_weather_desktop.json')
+
+ urls_list = [
+ # Why: #7 Alexa news; #27 total time spent, picked interesting page
+ 'http://www.weather.com/weather/right-now/Mountain+View+CA+94043',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_wikipedia_galaxynexus.py b/tools/skp/page_sets/skia_wikipedia_galaxynexus.py
new file mode 100644
index 0000000000..d799de9657
--- /dev/null
+++ b/tools/skp/page_sets/skia_wikipedia_galaxynexus.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'mobile'
+ self.archive_data_file = 'data/skia_wikipedia_galaxynexus.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(5)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='mobile',
+ archive_data_file='data/skia_wikipedia_galaxynexus.json')
+
+ urls_list = [
+ # Why: #6 Alexa most visited worldwide; from robertphillips
+ 'http://en.m.wikipedia.org/wiki/List_of_The_X-Files_episodes#section_2',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_worldjournal_nexus10.py b/tools/skp/page_sets/skia_worldjournal_nexus10.py
new file mode 100644
index 0000000000..333eed49e7
--- /dev/null
+++ b/tools/skp/page_sets/skia_worldjournal_nexus10.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'tablet'
+ self.archive_data_file = 'data/skia_worldjournal_nexus10.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(15)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='tablet',
+ archive_data_file='data/skia_worldjournal_nexus10.json')
+
+ urls_list = [
+ # Why: Chinese font test case
+ 'http://worldjournal.com/',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_wowwiki_desktop.py b/tools/skp/page_sets/skia_wowwiki_desktop.py
new file mode 100644
index 0000000000..55e1714eb4
--- /dev/null
+++ b/tools/skp/page_sets/skia_wowwiki_desktop.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_wowwiki_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(15)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_wowwiki_desktop.json')
+
+ urls_list = [
+ # Why: http://code.google.com/p/chromium/issues/detail?id=136555
+ 'http://www.wowwiki.com/World_of_Warcraft:_Mists_of_Pandaria',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_yahooanswers_desktop.py b/tools/skp/page_sets/skia_yahooanswers_desktop.py
new file mode 100644
index 0000000000..10c7952d61
--- /dev/null
+++ b/tools/skp/page_sets/skia_yahooanswers_desktop.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_yahooanswers_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(5)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_yahooanswers_desktop.json')
+
+ urls_list = [
+ # Why: #1 Alexa reference
+ 'http://answers.yahoo.com',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_youtube_desktop.py b/tools/skp/page_sets/skia_youtube_desktop.py
new file mode 100644
index 0000000000..fc9872d315
--- /dev/null
+++ b/tools/skp/page_sets/skia_youtube_desktop.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_youtube_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(15)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/skia_youtube_desktop.json')
+
+ urls_list = [
+ # Why: #3 (Alexa global)
+ 'http://www.youtube.com/watch?v=PC57z-oDPLs',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))
diff --git a/tools/skp/page_sets/skia_youtubetvvideo_desktop.py b/tools/skp/page_sets/skia_youtubetvvideo_desktop.py
new file mode 100644
index 0000000000..0636347e46
--- /dev/null
+++ b/tools/skp/page_sets/skia_youtubetvvideo_desktop.py
@@ -0,0 +1,44 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# pylint: disable=W0401,W0614
+
+
+from telemetry.page import page as page_module
+from telemetry.page import page_set as page_set_module
+
+
+class SkiaBuildbotDesktopPage(page_module.Page):
+
+ def __init__(self, url, page_set):
+ super(SkiaBuildbotDesktopPage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
+ self.user_agent_type = 'desktop'
+ self.archive_data_file = 'data/skia_youtubetvvideo_desktop.json'
+
+ def RunSmoothness(self, action_runner):
+ action_runner.ScrollElement()
+
+ def RunNavigateSteps(self, action_runner):
+ action_runner.NavigateToPage(self)
+ action_runner.Wait(10)
+
+
+class SkiaBuildbotPageSet(page_set_module.PageSet):
+
+ """ Pages designed to represent the median, not highly optimized web """
+
+ def __init__(self):
+ super(SkiaBuildbotPageSet, self).__init__(
+ user_agent_type='',
+ archive_data_file='data/skia_youtubetvvideo_desktop.json')
+
+ urls_list = [
+ # Why: from bsalomon
+ 'https://www.youtube.com/tv#/watch?v=046MuD1pYJg&mode=transport',
+ ]
+
+ for url in urls_list:
+ self.AddPage(SkiaBuildbotDesktopPage(url, self))