Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1575)

Unified Diff: tools/perf/page_sets/chrome_proxy/top_20.py

Issue 397483002: Move chrome_proxy tests from under tools/perf to tools/chrome_proxy/integration_tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments and sync'ed Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/perf/page_sets/chrome_proxy/synthetic.py ('k') | tools/perf/page_sets/data/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/chrome_proxy/top_20.py
diff --git a/tools/perf/page_sets/chrome_proxy/top_20.py b/tools/perf/page_sets/chrome_proxy/top_20.py
deleted file mode 100644
index 1f8438d70c208e7fc1e5e795628e82f0fdcf8afd..0000000000000000000000000000000000000000
--- a/tools/perf/page_sets/chrome_proxy/top_20.py
+++ /dev/null
@@ -1,89 +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.
-from telemetry.page import page as page_module
-from telemetry.page import page_set as page_set_module
-
-
-class Top20Page(page_module.Page):
-
- def __init__(self, url, page_set, name=''):
- super(Top20Page, self).__init__(url=url, page_set=page_set, name=name)
- self.archive_data_file = '../data/chrome_proxy_top_20.json'
-
-class Top20PageSet(page_set_module.PageSet):
-
- """ Pages hand-picked for Chrome Proxy tests. """
-
- def __init__(self):
- super(Top20PageSet, self).__init__(
- archive_data_file='../data/chrome_proxy_top_20.json')
-
- # Why: top google property; a google tab is often open
- self.AddPage(Top20Page('https://www.google.com/#hl=en&q=barack+obama',
- self))
-
- # Why: #3 (Alexa global)
- self.AddPage(Top20Page('http://www.youtube.com', self))
-
- # Why: #18 (Alexa global), Picked an interesting post
- self.AddPage(Top20Page(
- # pylint: disable=C0301
- 'http://en.blog.wordpress.com/2012/09/04/freshly-pressed-editors-picks-for-august-2012/',
- self, 'Wordpress'))
-
- # Why: top social,Public profile
- self.AddPage(Top20Page('http://www.facebook.com/barackobama', self,
- 'Facebook'))
-
- # Why: #12 (Alexa global),Public profile
- self.AddPage(Top20Page('http://www.linkedin.com/in/linustorvalds', self,
- 'LinkedIn'))
-
- # Why: #6 (Alexa) most visited worldwide,Picked an interesting page
- self.AddPage(Top20Page('http://en.wikipedia.org/wiki/Wikipedia', self,
- 'Wikipedia (1 tab)'))
-
- # Why: #8 (Alexa global),Picked an interesting page
- self.AddPage(Top20Page('https://twitter.com/katyperry', self, 'Twitter'))
-
- # Why: #37 (Alexa global)
- self.AddPage(Top20Page('http://pinterest.com', self, 'Pinterest'))
-
- # Why: #1 sports
- self.AddPage(Top20Page('http://espn.go.com', self, 'ESPN'))
-
- # Why: #1 news worldwide (Alexa global)
- self.AddPage(Top20Page('http://news.yahoo.com', self))
-
- # Why: #2 news worldwide
- self.AddPage(Top20Page('http://www.cnn.com', self))
-
- # Why: #7 (Alexa news); #27 total time spent,Picked interesting page
- self.AddPage(Top20Page(
- 'http://www.weather.com/weather/right-now/Mountain+View+CA+94043',
- self, 'Weather.com'))
-
- # Why: #1 world commerce website by visits; #3 commerce in the US by time
- # spent
- self.AddPage(Top20Page('http://www.amazon.com', self))
-
- # Why: #1 commerce website by time spent by users in US
- self.AddPage(Top20Page('http://www.ebay.com', self))
-
- # Why: #1 games according to Alexa (with actual games in it)
- self.AddPage(Top20Page('http://games.yahoo.com', self))
-
- # Why: #1 Alexa recreation
- self.AddPage(Top20Page('http://booking.com', self))
-
- # Why: #1 Alexa reference
- self.AddPage(Top20Page('http://answers.yahoo.com', self))
-
- # Why: #1 Alexa sports
- self.AddPage(Top20Page('http://sports.yahoo.com/', self))
-
- # Why: top tech blog
- self.AddPage(Top20Page('http://techcrunch.com', self))
-
- self.AddPage(Top20Page('http://www.nytimes.com', self))
« no previous file with comments | « tools/perf/page_sets/chrome_proxy/synthetic.py ('k') | tools/perf/page_sets/data/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698