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

Side by Side Diff: tools/perf/page_sets/tough_energy_cases.py

Issue 745683002: Update bucket to reflect current page_set. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 from telemetry.page import page as page_module 4 from telemetry.page import page as page_module
5 from telemetry.page import page_set as page_set_module 5 from telemetry.page import page_set as page_set_module
6 6
7 7
8 class ToughEnergyCasesPage(page_module.Page): 8 class ToughEnergyCasesPage(page_module.Page):
9 9
10 def __init__(self, url, page_set): 10 def __init__(self, url, page_set):
(...skipping 21 matching lines...) Expand all
32 'window.gmonkey !== undefined &&' 32 'window.gmonkey !== undefined &&'
33 'document.getElementById("gb") !== null') 33 'document.getElementById("gb") !== null')
34 34
35 35
36 class ToughEnergyCasesPageSet(page_set_module.PageSet): 36 class ToughEnergyCasesPageSet(page_set_module.PageSet):
37 """Pages for measuring Chrome power draw.""" 37 """Pages for measuring Chrome power draw."""
38 38
39 def __init__(self): 39 def __init__(self):
40 super(ToughEnergyCasesPageSet, self).__init__( 40 super(ToughEnergyCasesPageSet, self).__init__(
41 archive_data_file='data/tough_energy_cases.json', 41 archive_data_file='data/tough_energy_cases.json',
42 bucket=page_set_module.PUBLIC_BUCKET) 42 bucket=page_set_module.PARTNER_BUCKET)
43 43
44 # Why: productivity, top google properties 44 # Why: productivity, top google properties
45 self.AddPage(GooglePage('https://mail.google.com/mail/', self)) 45 self.AddPage(GooglePage('https://mail.google.com/mail/', self))
46 46
47 # Disabled: pegs CPU too much to get meaningful results. 47 # Disabled: pegs CPU too much to get meaningful results.
48 # Why: Image constantly changed in the background, above the fold 48 # Why: Image constantly changed in the background, above the fold
49 # self.AddPage(CodePenPage( 49 # self.AddPage(CodePenPage(
50 # 'http://codepen.io/testificate364/debug/eIutG', self)) 50 # 'http://codepen.io/testificate364/debug/eIutG', self))
51 51
52 # Disabled: pegs CPU too much to get meaningful results. 52 # Disabled: pegs CPU too much to get meaningful results.
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 # self.AddPage(CodePenPage( 117 # self.AddPage(CodePenPage(
118 # 'http://codepen.io/testificate364/debug/ckItK', self)) 118 # 'http://codepen.io/testificate364/debug/ckItK', self))
119 119
120 # Why: flash video 120 # Why: flash video
121 self.AddPage(CodePenPage( 121 self.AddPage(CodePenPage(
122 'http://codepen.io/testificate364/debug/slBue', self)) 122 'http://codepen.io/testificate364/debug/slBue', self))
123 123
124 # Why: Blank page in the foreground 124 # Why: Blank page in the foreground
125 self.AddPage(CodePenPage( 125 self.AddPage(CodePenPage(
126 'http://codepen.io/testificate364/debug/HdIgr', self)) 126 'http://codepen.io/testificate364/debug/HdIgr', self))
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698