| 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 import story | 5 from telemetry import story |
| 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 13 matching lines...) Expand all Loading... |
| 24 | 24 |
| 25 class ToughAnimationCasesPageSet(story.StorySet): | 25 class ToughAnimationCasesPageSet(story.StorySet): |
| 26 | 26 |
| 27 """ | 27 """ |
| 28 Description: A collection of animation performance tests | 28 Description: A collection of animation performance tests |
| 29 """ | 29 """ |
| 30 | 30 |
| 31 def __init__(self): | 31 def __init__(self): |
| 32 super(ToughAnimationCasesPageSet, self).__init__( | 32 super(ToughAnimationCasesPageSet, self).__init__( |
| 33 archive_data_file='data/tough_animation_cases.json', | 33 archive_data_file='data/tough_animation_cases.json', |
| 34 cloud_storage_bucket=story.PARTNER_BUCKET, | 34 cloud_storage_bucket=story.PARTNER_BUCKET) |
| 35 verify_names=True) | |
| 36 | 35 |
| 37 urls_list_one = [ | 36 urls_list_one = [ |
| 38 # Why: Tests the balls animation implemented with SVG animations. | 37 # Why: Tests the balls animation implemented with SVG animations. |
| 39 'file://tough_animation_cases/balls_svg_animations.html', | 38 'file://tough_animation_cases/balls_svg_animations.html', |
| 40 # Why: Tests the balls animation implemented with Javascript and canvas. | 39 # Why: Tests the balls animation implemented with Javascript and canvas. |
| 41 'file://tough_animation_cases/balls_javascript_canvas.html', | 40 'file://tough_animation_cases/balls_javascript_canvas.html', |
| 42 # Why: Tests the balls animation implemented with Javascript and CSS. | 41 # Why: Tests the balls animation implemented with Javascript and CSS. |
| 43 'file://tough_animation_cases/balls_javascript_css.html', | 42 'file://tough_animation_cases/balls_javascript_css.html', |
| 44 # Why: Tests the balls animation implemented with CSS keyframe animations. | 43 # Why: Tests the balls animation implemented with CSS keyframe animations. |
| 45 'file://tough_animation_cases/balls_css_keyframe_animations.html', | 44 'file://tough_animation_cases/balls_css_keyframe_animations.html', |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 'file://tough_animation_cases/mix_blend_mode_propagating_isolation.html', | 266 'file://tough_animation_cases/mix_blend_mode_propagating_isolation.html', |
| 268 | 267 |
| 269 # Disabled: crbug.com/350692 | 268 # Disabled: crbug.com/350692 |
| 270 # Why: Login page is slow because of ineffecient transform operations. | 269 # Why: Login page is slow because of ineffecient transform operations. |
| 271 # 'http://ie.microsoft.com/testdrive/performance/robohornetpro/', | 270 # 'http://ie.microsoft.com/testdrive/performance/robohornetpro/', |
| 272 ] | 271 ] |
| 273 | 272 |
| 274 for url in urls_list_two: | 273 for url in urls_list_two: |
| 275 self.AddStory(ToughAnimationCasesPage(url, self, | 274 self.AddStory(ToughAnimationCasesPage(url, self, |
| 276 need_measurement_ready=False)) | 275 need_measurement_ready=False)) |
| OLD | NEW |