diff options
author | rmistry <rmistry@google.com> | 2015-04-03 08:22:51 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-03 08:22:51 -0700 |
commit | 80bd3ae9d76bcb9bdbf28c978c64134cdd503385 (patch) | |
tree | 4bed441494c7eecdc5487f11deb7de6662662c0a /tools/skp | |
parent | eef5b3eb12d5aaf55f43762110af250c79cb0a45 (diff) |
Delete no longer needed pagesets, add new pagesets and make names more readable
Deleted all pagesets mentioned in https://code.google.com/p/skia/issues/detail?id=3574#c18
Added new Wikipedia and Unicodetable pagesets from https://code.google.com/p/skia/issues/detail?id=3574#c19
BUG=skia:3574
NOTRY=true
Review URL: https://codereview.chromium.org/1053253003
Diffstat (limited to 'tools/skp')
38 files changed, 18 insertions, 1478 deletions
diff --git a/tools/skp/page_sets/skia_amazon_desktop.py b/tools/skp/page_sets/skia_amazon_desktop.py deleted file mode 100644 index 3e1bd1ed2e..0000000000 --- a/tools/skp/page_sets/skia_amazon_desktop.py +++ /dev/null @@ -1,42 +0,0 @@ -# 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 RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) - action_runner.Wait(15) - - -class SkiaAmazonDesktopPageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaAmazonDesktopPageSet, 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.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_androidpolice_nexus10.py b/tools/skp/page_sets/skia_androidpolice_nexus10.py deleted file mode 100644 index c8daf0134d..0000000000 --- a/tools/skp/page_sets/skia_androidpolice_nexus10.py +++ /dev/null @@ -1,43 +0,0 @@ -# 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 RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) - action_runner.Wait(15) - - -class SkiaAndroidpoliceNexus10PageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaAndroidpoliceNexus10PageSet, 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.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_baidu_desktop.py b/tools/skp/page_sets/skia_baidu_desktop.py deleted file mode 100644 index 24a96d4cd2..0000000000 --- a/tools/skp/page_sets/skia_baidu_desktop.py +++ /dev/null @@ -1,42 +0,0 @@ -# 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 RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) - action_runner.Wait(90) - - -class SkiaBaiduDesktopPageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaBaiduDesktopPageSet, 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.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_blogger_desktop.py b/tools/skp/page_sets/skia_blogger_desktop.py deleted file mode 100644 index 4881fb4d36..0000000000 --- a/tools/skp/page_sets/skia_blogger_desktop.py +++ /dev/null @@ -1,42 +0,0 @@ -# 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 RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) - action_runner.Wait(15) - - -class SkiaBloggerDesktopPageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaBloggerDesktopPageSet, 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.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_cnet_nexus10.py b/tools/skp/page_sets/skia_cnet_nexus10.py deleted file mode 100644 index 6b4eafb30a..0000000000 --- a/tools/skp/page_sets/skia_cnet_nexus10.py +++ /dev/null @@ -1,41 +0,0 @@ -# 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 RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) - action_runner.Wait(5) - - -class SkiaCnetNexus10PageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaCnetNexus10PageSet, 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.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_cnn_nexus10.py b/tools/skp/page_sets/skia_cnn_nexus10.py deleted file mode 100644 index 695ef17793..0000000000 --- a/tools/skp/page_sets/skia_cnn_nexus10.py +++ /dev/null @@ -1,41 +0,0 @@ -# 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_cnn_nexus10.json' - - def RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) - action_runner.Wait(5) - - -class SkiaCnnNexus10PageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaCnnNexus10PageSet, self).__init__( - user_agent_type='tablet', - archive_data_file='data/skia_cnn_nexus10.json') - - urls_list = [ - # Why: #2 news worldwide. - 'http://www.cnn.com/2012/10/03/politics/michelle-obama-debate/index.html', - ] - - for url in urls_list: - self.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_culturalsolutions_nexus10.py b/tools/skp/page_sets/skia_culturalsolutions_nexus10.py deleted file mode 100644 index 4331a45bb3..0000000000 --- a/tools/skp/page_sets/skia_culturalsolutions_nexus10.py +++ /dev/null @@ -1,44 +0,0 @@ -# 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 SkiaCulturalsolutionsNexus10PageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaCulturalsolutionsNexus10PageSet, 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.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_deviantart_nexus10.py b/tools/skp/page_sets/skia_deviantart_nexus10.py deleted file mode 100644 index 421489c85d..0000000000 --- a/tools/skp/page_sets/skia_deviantart_nexus10.py +++ /dev/null @@ -1,41 +0,0 @@ -# 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 RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) - action_runner.Wait(5) - - -class SkiaDeviantartNexus10PageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaDeviantartNexus10PageSet, 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.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_ebay_desktop.py b/tools/skp/page_sets/skia_ebay_desktop.py deleted file mode 100644 index 07c4c14a4e..0000000000 --- a/tools/skp/page_sets/skia_ebay_desktop.py +++ /dev/null @@ -1,43 +0,0 @@ -# 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 RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) - action_runner.Wait(5) - - -class SkiaEbayDesktopPageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaEbayDesktopPageSet, 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.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_engadget_nexus10.py b/tools/skp/page_sets/skia_engadget_nexus10.py deleted file mode 100644 index 88d8577e7e..0000000000 --- a/tools/skp/page_sets/skia_engadget_nexus10.py +++ /dev/null @@ -1,41 +0,0 @@ -# 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 RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) - action_runner.Wait(5) - - -class SkiaEngadgetNexus10PageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaEngadgetNexus10PageSet, 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.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_facebook_desktop.py b/tools/skp/page_sets/skia_facebook_desktop.py deleted file mode 100644 index 2ef37413ec..0000000000 --- a/tools/skp/page_sets/skia_facebook_desktop.py +++ /dev/null @@ -1,46 +0,0 @@ -# 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(15) - - -class SkiaFacebookDesktopPageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaFacebookDesktopPageSet, 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.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_fontwipe_desktop.py b/tools/skp/page_sets/skia_fontwipe_desktop.py deleted file mode 100644 index 9288b614d5..0000000000 --- a/tools/skp/page_sets/skia_fontwipe_desktop.py +++ /dev/null @@ -1,41 +0,0 @@ -# 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 RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) - action_runner.Wait(5) - - -class SkiaFontwipeDesktopPageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaFontwipeDesktopPageSet, 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://jsfiddle.net/u324ffkq/embedded/result/', - ] - - for url in urls_list: - self.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_forecastio_desktop.py b/tools/skp/page_sets/skia_forecastio_desktop.py deleted file mode 100644 index e1356fe76a..0000000000 --- a/tools/skp/page_sets/skia_forecastio_desktop.py +++ /dev/null @@ -1,41 +0,0 @@ -# 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 RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) - action_runner.Wait(15) - - -class SkiaForecastioDesktopPageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaForecastioDesktopPageSet, 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.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_googleblog_nexus10.py b/tools/skp/page_sets/skia_googleblog_nexus10.py deleted file mode 100644 index 21580277bd..0000000000 --- a/tools/skp/page_sets/skia_googleblog_nexus10.py +++ /dev/null @@ -1,41 +0,0 @@ -# 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 RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) - action_runner.Wait(5) - - -class SkiaGoogleblogNexus10PageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaGoogleblogNexus10PageSet, 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.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_googlecalendar_nexus10.py b/tools/skp/page_sets/skia_googlecalendar_nexus10.py deleted file mode 100644 index a905c489cd..0000000000 --- a/tools/skp/page_sets/skia_googlecalendar_nexus10.py +++ /dev/null @@ -1,42 +0,0 @@ -# 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 RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) - action_runner.Wait(5) - - -class SkiaGooglecalendarNexus10PageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaGooglecalendarNexus10PageSet, 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.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_googleplus_desktop.py b/tools/skp/page_sets/skia_googleplus_desktop.py deleted file mode 100644 index 6d4867799c..0000000000 --- a/tools/skp/page_sets/skia_googleplus_desktop.py +++ /dev/null @@ -1,41 +0,0 @@ -# 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 RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) - action_runner.Wait(15) - - -class SkiaGoogleplusDesktopPageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaGoogleplusDesktopPageSet, 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.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_gspro_nexus10.py b/tools/skp/page_sets/skia_gspro_nexus10.py deleted file mode 100644 index 1bbe423070..0000000000 --- a/tools/skp/page_sets/skia_gspro_nexus10.py +++ /dev/null @@ -1,41 +0,0 @@ -# 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 RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) - action_runner.Wait(5) - - -class SkiaGsproNexus10PageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaGsproNexus10PageSet, 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.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_gws_desktop.py b/tools/skp/page_sets/skia_gws_desktop.py deleted file mode 100644 index 47db8e9ddb..0000000000 --- a/tools/skp/page_sets/skia_gws_desktop.py +++ /dev/null @@ -1,44 +0,0 @@ -# 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(15) - - -class SkiaGwsDesktopPageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaGwsDesktopPageSet, 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.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_hsfi_nexus10.py b/tools/skp/page_sets/skia_hsfi_nexus10.py deleted file mode 100644 index b8694cf91b..0000000000 --- a/tools/skp/page_sets/skia_hsfi_nexus10.py +++ /dev/null @@ -1,41 +0,0 @@ -# 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 RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) - action_runner.Wait(5) - - -class SkiaHsfiNexus10PageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaHsfiNexus10PageSet, 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.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_jsfiddlehumperclip_desktop.py b/tools/skp/page_sets/skia_jsfiddlehumperclip_desktop.py deleted file mode 100644 index 9aab8e2ca2..0000000000 --- a/tools/skp/page_sets/skia_jsfiddlehumperclip_desktop.py +++ /dev/null @@ -1,44 +0,0 @@ -# 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(15) - - -class SkiaJsfiddlehumperclipDesktopPageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaJsfiddlehumperclipDesktopPageSet, 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.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_linkedin_desktop.py b/tools/skp/page_sets/skia_linkedin_desktop.py deleted file mode 100644 index 04bcf55be5..0000000000 --- a/tools/skp/page_sets/skia_linkedin_desktop.py +++ /dev/null @@ -1,41 +0,0 @@ -# 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 RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) - action_runner.Wait(5) - - -class SkiaLinkedinDesktopPageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaLinkedinDesktopPageSet, 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.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_mlb_nexus10.py b/tools/skp/page_sets/skia_mlb_nexus10.py deleted file mode 100644 index d43af5b4a9..0000000000 --- a/tools/skp/page_sets/skia_mlb_nexus10.py +++ /dev/null @@ -1,41 +0,0 @@ -# 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 RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) - action_runner.Wait(5) - - -class SkiaMlbNexus10PageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaMlbNexus10PageSet, 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.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_mobilenews_desktop.py b/tools/skp/page_sets/skia_mobilenews_desktop.py deleted file mode 100644 index 435d5c8ee9..0000000000 --- a/tools/skp/page_sets/skia_mobilenews_desktop.py +++ /dev/null @@ -1,41 +0,0 @@ -# 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 RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) - action_runner.Wait(5) - - -class SkiaMobilenewsDesktopPageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaMobilenewsDesktopPageSet, 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.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_nofolo_nexus10.py b/tools/skp/page_sets/skia_nofolo_nexus10.py deleted file mode 100644 index a7caa7aa1f..0000000000 --- a/tools/skp/page_sets/skia_nofolo_nexus10.py +++ /dev/null @@ -1,41 +0,0 @@ -# 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 RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) - action_runner.Wait(5) - - -class SkiaNofoloNexus10PageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaNofoloNexus10PageSet, 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.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_pinterest_desktop.py b/tools/skp/page_sets/skia_pinterest_desktop.py deleted file mode 100644 index 110eacf6e5..0000000000 --- a/tools/skp/page_sets/skia_pinterest_desktop.py +++ /dev/null @@ -1,41 +0,0 @@ -# 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 RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) - action_runner.Wait(5) - - -class SkiaPinterestDesktopPageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaPinterestDesktopPageSet, 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.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_sahadan_nexus10.py b/tools/skp/page_sets/skia_sahadan_nexus10.py deleted file mode 100644 index 681b9035fa..0000000000 --- a/tools/skp/page_sets/skia_sahadan_nexus10.py +++ /dev/null @@ -1,41 +0,0 @@ -# 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 RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) - action_runner.Wait(5) - - -class SkiaSahadanNexus10PageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaSahadanNexus10PageSet, 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.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_sfgate_desktop.py b/tools/skp/page_sets/skia_sfgate_desktop.py deleted file mode 100644 index be209bfcea..0000000000 --- a/tools/skp/page_sets/skia_sfgate_desktop.py +++ /dev/null @@ -1,41 +0,0 @@ -# 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 RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) - action_runner.Wait(15) - - -class SkiaSfgateDesktopPageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaSfgateDesktopPageSet, 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.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_silkfinance_desktop.py b/tools/skp/page_sets/skia_silkfinance_desktop.py deleted file mode 100644 index d6528f8e3d..0000000000 --- a/tools/skp/page_sets/skia_silkfinance_desktop.py +++ /dev/null @@ -1,41 +0,0 @@ -# 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_silkfinance_desktop.json' - - def RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) - action_runner.Wait(5) - - -class SkiaSilkfinanceDesktopPageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaSilkfinanceDesktopPageSet, self).__init__( - user_agent_type='desktop', - archive_data_file='data/skia_silkfinance_desktop.json') - - urls_list = [ - # Why: Page from Chromium's silk test cases - 'http://jsfiddle.net/47ftse2x/embedded/result/', - ] - - for url in urls_list: - self.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_slashdot_nexus10.py b/tools/skp/page_sets/skia_slashdot_nexus10.py deleted file mode 100644 index db595b2f3e..0000000000 --- a/tools/skp/page_sets/skia_slashdot_nexus10.py +++ /dev/null @@ -1,41 +0,0 @@ -# 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 RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) - action_runner.Wait(5) - - -class SkiaSlashdotNexus10PageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaSlashdotNexus10PageSet, 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.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_techmeme_nexus10.py b/tools/skp/page_sets/skia_techmeme_nexus10.py deleted file mode 100644 index 3d68a6bb87..0000000000 --- a/tools/skp/page_sets/skia_techmeme_nexus10.py +++ /dev/null @@ -1,41 +0,0 @@ -# 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 RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) - action_runner.Wait(5) - - -class SkiaTechmemeNexus10PageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaTechmemeNexus10PageSet, 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.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_twitter_desktop.py b/tools/skp/page_sets/skia_twitter_desktop.py deleted file mode 100644 index c3eadf04c7..0000000000 --- a/tools/skp/page_sets/skia_twitter_desktop.py +++ /dev/null @@ -1,41 +0,0 @@ -# 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 RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) - action_runner.Wait(5) - - -class SkiaTwitterDesktopPageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaTwitterDesktopPageSet, 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.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_ukwsj_nexus10.py b/tools/skp/page_sets/skia_ukwsj_nexus10.py deleted file mode 100644 index b3297e2852..0000000000 --- a/tools/skp/page_sets/skia_ukwsj_nexus10.py +++ /dev/null @@ -1,41 +0,0 @@ -# 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 RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) - action_runner.Wait(15) - - -class SkiaUkwsjNexus10PageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaUkwsjNexus10PageSet, 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.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_yahooanswers_desktop.py b/tools/skp/page_sets/skia_unicodetable_desktop.py index 820ca8afc8..27a97c1186 100644 --- a/tools/skp/page_sets/skia_yahooanswers_desktop.py +++ b/tools/skp/page_sets/skia_unicodetable_desktop.py @@ -1,4 +1,4 @@ -# Copyright 2014 The Chromium Authors. All rights reserved. +# Copyright 2015 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 @@ -16,25 +16,26 @@ class SkiaBuildbotDesktopPage(page_module.Page): page_set=page_set, credentials_path='data/credentials.json') self.user_agent_type = 'desktop' - self.archive_data_file = 'data/skia_yahooanswers_desktop.json' + self.archive_data_file = 'data/skia_unicodetable_desktop.json' def RunNavigateSteps(self, action_runner): action_runner.NavigateToPage(self) - action_runner.Wait(5) + action_runner.ScrollPage(distance=100000) + action_runner.Wait(20) -class SkiaYahooanswersDesktopPageSet(page_set_module.PageSet): +class SkiaUnicodetableDesktopPageSet(page_set_module.PageSet): """ Pages designed to represent the median, not highly optimized web """ def __init__(self): - super(SkiaYahooanswersDesktopPageSet, self).__init__( + super(SkiaUnicodetableDesktopPageSet, self).__init__( user_agent_type='desktop', - archive_data_file='data/skia_yahooanswers_desktop.json') + archive_data_file='data/skia_unicodetable_desktop.json') urls_list = [ - # Why: #1 Alexa reference - 'http://answers.yahoo.com', + # Why: stress tests for fonts (from skia:3574). + 'http://unicode-table.com/en/', ] for url in urls_list: diff --git a/tools/skp/page_sets/skia_weather_desktop.py b/tools/skp/page_sets/skia_weather_desktop.py deleted file mode 100644 index 7d91161ede..0000000000 --- a/tools/skp/page_sets/skia_weather_desktop.py +++ /dev/null @@ -1,41 +0,0 @@ -# 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 RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) - action_runner.Wait(15) - - -class SkiaWeatherDesktopPageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaWeatherDesktopPageSet, 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.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_booking_desktop.py b/tools/skp/page_sets/skia_wikipedia_desktop.py index bef74d89fa..fa7b70ce53 100644 --- a/tools/skp/page_sets/skia_booking_desktop.py +++ b/tools/skp/page_sets/skia_wikipedia_desktop.py @@ -1,4 +1,4 @@ -# Copyright 2014 The Chromium Authors. All rights reserved. +# Copyright 2015 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 @@ -16,25 +16,21 @@ class SkiaBuildbotDesktopPage(page_module.Page): page_set=page_set, credentials_path='data/credentials.json') self.user_agent_type = 'desktop' - self.archive_data_file = 'data/skia_booking_desktop.json' + self.archive_data_file = 'data/skia_wikipedia_desktop.json' - def RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) - action_runner.Wait(5) - -class SkiaBookingDesktopPageSet(page_set_module.PageSet): +class SkiaWikipediaDesktopPageSet(page_set_module.PageSet): """ Pages designed to represent the median, not highly optimized web """ def __init__(self): - super(SkiaBookingDesktopPageSet, self).__init__( + super(SkiaWikipediaDesktopPageSet, self).__init__( user_agent_type='desktop', - archive_data_file='data/skia_booking_desktop.json') + archive_data_file='data/skia_wikipedia_desktop.json') urls_list = [ - # Why: #1 Alexa recreation. - 'http://booking.com', + # Why: stress tests for fonts (from skia:3574). + 'http://www.wikipedia.org/', ] for url in urls_list: diff --git a/tools/skp/page_sets/skia_wordpress_desktop.py b/tools/skp/page_sets/skia_wordpress_desktop.py deleted file mode 100644 index 3b48f12394..0000000000 --- a/tools/skp/page_sets/skia_wordpress_desktop.py +++ /dev/null @@ -1,42 +0,0 @@ -# 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_wordpress_desktop.json' - - def RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) - action_runner.Wait(5) - - -class SkiaWordpressDesktopPageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaWordpressDesktopPageSet, self).__init__( - user_agent_type='desktop', - archive_data_file='data/skia_wordpress_desktop.json') - - urls_list = [ - # Why: #18 (Alexa global), Picked an interesting post. - ('http://en.blog.wordpress.com/2012/09/04/' - 'freshly-pressed-editors-picks-for-august-2012/'), - ] - - for url in urls_list: - self.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/page_sets/skia_youtube_desktop.py b/tools/skp/page_sets/skia_youtube_desktop.py deleted file mode 100644 index 335dc68fa1..0000000000 --- a/tools/skp/page_sets/skia_youtube_desktop.py +++ /dev/null @@ -1,41 +0,0 @@ -# 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 RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) - action_runner.Wait(25) - - -class SkiaYoutubeDesktopPageSet(page_set_module.PageSet): - - """ Pages designed to represent the median, not highly optimized web """ - - def __init__(self): - super(SkiaYoutubeDesktopPageSet, 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.AddUserStory(SkiaBuildbotDesktopPage(url, self)) diff --git a/tools/skp/webpages_playback.py b/tools/skp/webpages_playback.py index 7f79c4665d..e81f77c57c 100644 --- a/tools/skp/webpages_playback.py +++ b/tools/skp/webpages_playback.py @@ -386,7 +386,7 @@ class SkPicturePlayback(object): # /path/to/http___mobile_news_sandbox_pt0 -> http___mobile_news_sandbox_pt0 _, webpage = os.path.split(site) # http___mobile_news_sandbox_pt0 -> mobile_news_sandbox_pt0 - for prefix in ('http___', 'https___'): + for prefix in ('http___', 'https___', 'www_'): if webpage.startswith(prefix): webpage = webpage[len(prefix):] # /path/to/skia_yahooanswers_desktop.py -> skia_yahooanswers_desktop.py @@ -407,6 +407,7 @@ class SkPicturePlayback(object): filename = self._GetChromiumSkpFileName(page_set, site) else: filename = self._GetSkiaSkpFileName(page_set) + filename = filename.lower() # We choose the largest .skp as the most likely to be interesting. largest_skp = max(glob.glob(os.path.join(site, '*.skp')), |