OLD | NEW |
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 27 matching lines...) Expand all Loading... |
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.PUBLIC_BUCKET, |
43 credentials_path='data/credentials.json') | 43 credentials_path='data/credentials.json') |
44 | 44 |
45 # Why: productivity, top google properties | 45 # Why: productivity, top google properties |
46 self.AddPage(GooglePage('https://mail.google.com/mail/', self)) | 46 self.AddPage(GooglePage('https://mail.google.com/mail/', self)) |
47 | 47 |
| 48 # Disabled: pegs CPU too much to get meaningful results. |
48 # Why: Image constantly changed in the background, above the fold | 49 # Why: Image constantly changed in the background, above the fold |
49 self.AddPage(CodePenPage( | 50 # self.AddPage(CodePenPage( |
50 'http://codepen.io/testificate364/debug/eIutG', self)) | 51 # 'http://codepen.io/testificate364/debug/eIutG', self)) |
51 | 52 |
| 53 # Disabled: pegs CPU too much to get meaningful results. |
52 # Why: Image constantly changed in the background, below the fold | 54 # Why: Image constantly changed in the background, below the fold |
53 self.AddPage(CodePenPage( | 55 # self.AddPage(CodePenPage( |
54 'http://codepen.io/testificate364/debug/zcDdv', self)) | 56 # 'http://codepen.io/testificate364/debug/zcDdv', self)) |
55 | 57 |
56 # Why: CSS Animation, above the fold | 58 # Why: CSS Animation, above the fold |
57 self.AddPage(CodePenPage( | 59 self.AddPage(CodePenPage( |
58 'http://codepen.io/testificate364/debug/nrbDc', self)) | 60 'http://codepen.io/testificate364/debug/nrbDc', self)) |
59 | 61 |
60 # Why: CSS Animation, below the fold | 62 # Why: CSS Animation, below the fold |
61 self.AddPage(CodePenPage( | 63 self.AddPage(CodePenPage( |
62 'http://codepen.io/testificate364/debug/fhKCg', self)) | 64 'http://codepen.io/testificate364/debug/fhKCg', self)) |
63 | 65 |
64 # Why: requestAnimationFrame, above the fold | 66 # Why: requestAnimationFrame, above the fold |
(...skipping 29 matching lines...) Expand all Loading... |
94 'http://codepen.io/testificate364/debug/Kvdxs', self)) | 96 'http://codepen.io/testificate364/debug/Kvdxs', self)) |
95 | 97 |
96 # Why: HTML5 video, above the fold | 98 # Why: HTML5 video, above the fold |
97 self.AddPage(CodePenPage( | 99 self.AddPage(CodePenPage( |
98 'http://codepen.io/testificate364/debug/lJAiH', self)) | 100 'http://codepen.io/testificate364/debug/lJAiH', self)) |
99 | 101 |
100 # Why: HTML5 video, below the fold | 102 # Why: HTML5 video, below the fold |
101 self.AddPage(CodePenPage( | 103 self.AddPage(CodePenPage( |
102 'http://codepen.io/testificate364/debug/EFceH', self)) | 104 'http://codepen.io/testificate364/debug/EFceH', self)) |
103 | 105 |
| 106 # Disabled: pegs CPU too much to get meaningful results. |
104 # Why: PostMessage between frames, above the fold | 107 # Why: PostMessage between frames, above the fold |
105 self.AddPage(CodePenPage( | 108 # self.AddPage(CodePenPage( |
106 'http://codepen.io/testificate364/debug/pgBHu', self)) | 109 # 'http://codepen.io/testificate364/debug/pgBHu', self)) |
107 | 110 |
| 111 # Disabled: pegs CPU too much to get meaningful results. |
108 # Why: Asynchronous XHR continually running | 112 # Why: Asynchronous XHR continually running |
109 self.AddPage(CodePenPage( | 113 # self.AddPage(CodePenPage( |
110 'http://codepen.io/testificate364/debug/iwAfJ', self)) | 114 # 'http://codepen.io/testificate364/debug/iwAfJ', self)) |
111 | 115 |
| 116 # Disabled: pegs CPU too much to get meaningful results. |
112 # Why: Web Worker continually running | 117 # Why: Web Worker continually running |
113 self.AddPage(CodePenPage( | 118 # self.AddPage(CodePenPage( |
114 'http://codepen.io/testificate364/debug/ckItK', self)) | 119 # 'http://codepen.io/testificate364/debug/ckItK', self)) |
115 | 120 |
116 # Why: flash video | 121 # Why: flash video |
117 self.AddPage(CodePenPage( | 122 self.AddPage(CodePenPage( |
118 'http://codepen.io/testificate364/debug/cFEaD', self)) | 123 'http://codepen.io/testificate364/debug/slBue', self)) |
119 | 124 |
120 # Why: Blank page in the foreground | 125 # Why: Blank page in the foreground |
121 self.AddPage(CodePenPage( | 126 self.AddPage(CodePenPage( |
122 'http://codepen.io/testificate364/debug/HdIgr', self)) | 127 'http://codepen.io/testificate364/debug/HdIgr', self)) |
OLD | NEW |