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

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

Issue 931723002: Add perf tests for animations using different CSS value types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 unified diff | Download patch
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 ToughAnimationCasesPage(page_module.Page): 8 class ToughAnimationCasesPage(page_module.Page):
9 9
10 def __init__(self, url, page_set, need_measurement_ready): 10 def __init__(self, url, page_set, need_measurement_ready):
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 # chained together using events. 174 # chained together using events.
175 # pylint: disable=C0301 175 # pylint: disable=C0301
176 'file://tough_animation_cases/web_animations_staggered_chaining.html?N=031 6', 176 'file://tough_animation_cases/web_animations_staggered_chaining.html?N=031 6',
177 # Why: Tests many Web Animations all starting at different times with 177 # Why: Tests many Web Animations all starting at different times with
178 # infinite iterations. 178 # infinite iterations.
179 # pylint: disable=C0301 179 # pylint: disable=C0301
180 'file://tough_animation_cases/web_animations_staggered_infinite_iterations .html?N=0316', 180 'file://tough_animation_cases/web_animations_staggered_infinite_iterations .html?N=0316',
181 # Why: Tests many Web Animations all starting at different times. 181 # Why: Tests many Web Animations all starting at different times.
182 # pylint: disable=C0301 182 # pylint: disable=C0301
183 'file://tough_animation_cases/web_animations_staggered_triggering.html?N=0 316', 183 'file://tough_animation_cases/web_animations_staggered_triggering.html?N=0 316',
184
185 # Why: Tests color animations using CSS Animations.
186 # pylint: disable=C0301
187 'file://tough_animation_cases/css_value_type_color.html?api=css_animations &N=0316',
188 # Why: Tests filter animations using CSS Animations.
189 # pylint: disable=C0301
190 'file://tough_animation_cases/css_value_type_filter.html?api=css_animation s&N=0316',
191 # Why: Tests length 3D animations using CSS Animations.
192 # pylint: disable=C0301
193 'file://tough_animation_cases/css_value_type_length_3d.html?api=css_animat ions&N=0316',
194 # Why: Tests complex length animations using CSS Animations.
195 # pylint: disable=C0301
196 'file://tough_animation_cases/css_value_type_length_complex.html?api=css_a nimations&N=0316',
197 # Why: Tests simple length animations using CSS Animations.
198 # pylint: disable=C0301
199 'file://tough_animation_cases/css_value_type_length_simple.html?api=css_an imations&N=0316',
200 # Why: Tests shadow animations using CSS Animations.
201 # pylint: disable=C0301
202 'file://tough_animation_cases/css_value_type_shadow.html?api=css_animation s&N=0316',
203 # Why: Tests complex transform animations using CSS Animations.
204 # pylint: disable=C0301
205 'file://tough_animation_cases/css_value_type_transform_complex.html?api=cs s_animations&N=0316',
206 # Why: Tests simple transform animations using CSS Animations.
207 # pylint: disable=C0301
208 'file://tough_animation_cases/css_value_type_transform_simple.html?api=css _animations&N=0316',
209
210 # Why: Tests color animations using Web Animations.
211 # pylint: disable=C0301
212 'file://tough_animation_cases/css_value_type_color.html?api=web_animations &N=0316',
213 # Why: Tests length 3D animations using Web Animations.
214 # pylint: disable=C0301
215 'file://tough_animation_cases/css_value_type_length_3d.html?api=web_animat ions&N=0316',
216 # Why: Tests complex length animations using Web Animations.
217 # pylint: disable=C0301
218 'file://tough_animation_cases/css_value_type_length_complex.html?api=web_a nimations&N=0316',
219 # Why: Tests simple length animations using Web Animations.
220 # pylint: disable=C0301
221 'file://tough_animation_cases/css_value_type_length_simple.html?api=web_an imations&N=0316',
222 # Why: Tests shadow animations using Web Animations.
223 # pylint: disable=C0301
224 'file://tough_animation_cases/css_value_type_shadow.html?api=web_animation s&N=0316',
225 # Why: Tests complex transform animations using Web Animations.
226 # pylint: disable=C0301
227 'file://tough_animation_cases/css_value_type_transform_complex.html?api=we b_animations&N=0316',
228 # Why: Tests simple transform animations using Web Animations.
229 # pylint: disable=C0301
230 'file://tough_animation_cases/css_value_type_transform_simple.html?api=web _animations&N=0316',
184 ] 231 ]
185 232
186 for url in urls_list_one: 233 for url in urls_list_one:
187 self.AddUserStory(ToughAnimationCasesPage(url, self, 234 self.AddUserStory(ToughAnimationCasesPage(url, self,
188 need_measurement_ready=True)) 235 need_measurement_ready=True))
189 236
190 urls_list_two = [ 237 urls_list_two = [
191 # Why: Tests various keyframed animations. 238 # Why: Tests various keyframed animations.
192 'file://tough_animation_cases/keyframed_animations.html', 239 'file://tough_animation_cases/keyframed_animations.html',
193 # Why: Tests various transitions. 240 # Why: Tests various transitions.
194 'file://tough_animation_cases/transform_transitions.html', 241 'file://tough_animation_cases/transform_transitions.html',
195 # Why: JS execution blocks CSS transition unless initial transform is set. 242 # Why: JS execution blocks CSS transition unless initial transform is set.
196 'file://tough_animation_cases/transform_transition_js_block.html' 243 'file://tough_animation_cases/transform_transition_js_block.html'
197 244
198 # Disabled: crbug.com/350692 245 # Disabled: crbug.com/350692
199 # Why: Login page is slow because of ineffecient transform operations. 246 # Why: Login page is slow because of ineffecient transform operations.
200 # 'http://ie.microsoft.com/testdrive/performance/robohornetpro/', 247 # 'http://ie.microsoft.com/testdrive/performance/robohornetpro/',
201 ] 248 ]
202 249
203 for url in urls_list_two: 250 for url in urls_list_two:
204 self.AddUserStory(ToughAnimationCasesPage(url, self, 251 self.AddUserStory(ToughAnimationCasesPage(url, self,
205 need_measurement_ready=False)) 252 need_measurement_ready=False))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698