| 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 shared_page_state | 5 from telemetry.page import shared_page_state |
| 6 from telemetry import story | 6 from telemetry import story |
| 7 | 7 |
| 8 | 8 |
| 9 class ToughCompositorPage(page_module.Page): | 9 class ToughCompositorPage(page_module.Page): |
| 10 | 10 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 action_runner.Wait(8) | 41 action_runner.Wait(8) |
| 42 | 42 |
| 43 | 43 |
| 44 class ToughCompositorCasesPageSet(story.StorySet): | 44 class ToughCompositorCasesPageSet(story.StorySet): |
| 45 | 45 |
| 46 """ Touch compositor sites """ | 46 """ Touch compositor sites """ |
| 47 | 47 |
| 48 def __init__(self): | 48 def __init__(self): |
| 49 super(ToughCompositorCasesPageSet, self).__init__( | 49 super(ToughCompositorCasesPageSet, self).__init__( |
| 50 archive_data_file='data/tough_compositor_cases.json', | 50 archive_data_file='data/tough_compositor_cases.json', |
| 51 cloud_storage_bucket=story.PUBLIC_BUCKET, | 51 cloud_storage_bucket=story.PUBLIC_BUCKET) |
| 52 verify_names=True) | |
| 53 | 52 |
| 54 scroll_urls_list = [ | 53 scroll_urls_list = [ |
| 55 # Why: Baseline CC scrolling page. A long page with only text. """ | 54 # Why: Baseline CC scrolling page. A long page with only text. """ |
| 56 'http://jsbin.com/pixavefe/1/quiet?CC_SCROLL_TEXT_ONLY', | 55 'http://jsbin.com/pixavefe/1/quiet?CC_SCROLL_TEXT_ONLY', |
| 57 # Why: Baseline JS scrolling page. A long page with only text. """ | 56 # Why: Baseline JS scrolling page. A long page with only text. """ |
| 58 'http://jsbin.com/wixadinu/2/quiet?JS_SCROLL_TEXT_ONLY', | 57 'http://jsbin.com/wixadinu/2/quiet?JS_SCROLL_TEXT_ONLY', |
| 59 # Why: Scroll by a large number of CC layers """ | 58 # Why: Scroll by a large number of CC layers """ |
| 60 'http://jsbin.com/yakagevo/1/quiet?CC_SCROLL_200_LAYER_GRID', | 59 'http://jsbin.com/yakagevo/1/quiet?CC_SCROLL_200_LAYER_GRID', |
| 61 # Why: Scroll by a large number of JS layers """ | 60 # Why: Scroll by a large number of JS layers """ |
| 62 'http://jsbin.com/jevibahi/4/quiet?JS_SCROLL_200_LAYER_GRID', | 61 'http://jsbin.com/jevibahi/4/quiet?JS_SCROLL_200_LAYER_GRID', |
| 63 ] | 62 ] |
| 64 | 63 |
| 65 wait_urls_list = [ | 64 wait_urls_list = [ |
| 66 # Why: CC Poster circle animates many layers """ | 65 # Why: CC Poster circle animates many layers """ |
| 67 'http://jsbin.com/falefice/1/quiet?CC_POSTER_CIRCLE', | 66 'http://jsbin.com/falefice/1/quiet?CC_POSTER_CIRCLE', |
| 68 # Why: JS poster circle animates/commits many layers """ | 67 # Why: JS poster circle animates/commits many layers """ |
| 69 'http://jsbin.com/giqafofe/1/quiet?JS_POSTER_CIRCLE', | 68 'http://jsbin.com/giqafofe/1/quiet?JS_POSTER_CIRCLE', |
| 70 # Why: JS invalidation does lots of uploads """ | 69 # Why: JS invalidation does lots of uploads """ |
| 71 'http://jsbin.com/beqojupo/1/quiet?JS_FULL_SCREEN_INVALIDATION', | 70 'http://jsbin.com/beqojupo/1/quiet?JS_FULL_SCREEN_INVALIDATION', |
| 72 # Why: Creates a large number of new tilings """ | 71 # Why: Creates a large number of new tilings """ |
| 73 'http://jsbin.com/covoqi/1/quiet?NEW_TILINGS', | 72 'http://jsbin.com/covoqi/1/quiet?NEW_TILINGS', |
| 74 ] | 73 ] |
| 75 | 74 |
| 76 for url in scroll_urls_list: | 75 for url in scroll_urls_list: |
| 77 self.AddStory(ToughCompositorScrollPage(url, self)) | 76 self.AddStory(ToughCompositorScrollPage(url, self)) |
| 78 | 77 |
| 79 for url in wait_urls_list: | 78 for url in wait_urls_list: |
| 80 self.AddStory(ToughCompositorWaitPage(url, self)) | 79 self.AddStory(ToughCompositorWaitPage(url, self)) |
| OLD | NEW |