| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 ToughPathRenderingCasesPage(page_module.Page): | 8 class ToughPathRenderingCasesPage(page_module.Page): |
| 9 def RunPageInteractions(self, action_runner): | 9 def RunPageInteractions(self, action_runner): |
| 10 with action_runner.CreateInteraction('ClickStart'): | 10 with action_runner.CreateInteraction('ClickStart'): |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 | 21 |
| 22 class ToughPathRenderingCasesPageSet(story.StorySet): | 22 class ToughPathRenderingCasesPageSet(story.StorySet): |
| 23 | 23 |
| 24 """ | 24 """ |
| 25 Description: Self-driven path rendering examples | 25 Description: Self-driven path rendering examples |
| 26 """ | 26 """ |
| 27 | 27 |
| 28 def __init__(self): | 28 def __init__(self): |
| 29 super(ToughPathRenderingCasesPageSet, self).__init__( | 29 super(ToughPathRenderingCasesPageSet, self).__init__( |
| 30 archive_data_file='data/tough_path_rendering_cases.json', | 30 archive_data_file='data/tough_path_rendering_cases.json', |
| 31 cloud_storage_bucket=story.PARTNER_BUCKET, | 31 cloud_storage_bucket=story.PARTNER_BUCKET) |
| 32 verify_names=True) | |
| 33 | 32 |
| 34 page_list = [ | 33 page_list = [ |
| 35 ('GUIMark Vector Chart Test', | 34 ('GUIMark Vector Chart Test', |
| 36 'http://www.craftymind.com/factory/guimark2/HTML5ChartingTest.html'), | 35 'http://www.craftymind.com/factory/guimark2/HTML5ChartingTest.html'), |
| 37 ('MotionMark Canvas Fill Shapes', | 36 ('MotionMark Canvas Fill Shapes', |
| 38 'http://rawgit.com/WebKit/webkit/master/PerformanceTests/MotionMark/develo
per.html?test-name=Fillshapes&test-interval=20&display=minimal&tiles=big&control
ler=fixed&frame-rate=50&kalman-process-error=1&kalman-measurement-error=4&time-m
easurement=performance&suite-name=Canvassuite&complexity=1000'), # pylint: disab
le=line-too-long | 37 'http://rawgit.com/WebKit/webkit/master/PerformanceTests/MotionMark/develo
per.html?test-name=Fillshapes&test-interval=20&display=minimal&tiles=big&control
ler=fixed&frame-rate=50&kalman-process-error=1&kalman-measurement-error=4&time-m
easurement=performance&suite-name=Canvassuite&complexity=1000'), # pylint: disab
le=line-too-long |
| 39 ('MotionMark Canvas Stroke Shapes', | 38 ('MotionMark Canvas Stroke Shapes', |
| 40 'http://rawgit.com/WebKit/webkit/master/PerformanceTests/MotionMark/develo
per.html?test-name=Strokeshapes&test-interval=20&display=minimal&tiles=big&contr
oller=fixed&frame-rate=50&kalman-process-error=1&kalman-measurement-error=4&time
-measurement=performance&suite-name=Canvassuite&complexity=1000'), # pylint: dis
able=line-too-long | 39 'http://rawgit.com/WebKit/webkit/master/PerformanceTests/MotionMark/develo
per.html?test-name=Strokeshapes&test-interval=20&display=minimal&tiles=big&contr
oller=fixed&frame-rate=50&kalman-process-error=1&kalman-measurement-error=4&time
-measurement=performance&suite-name=Canvassuite&complexity=1000'), # pylint: dis
able=line-too-long |
| 41 ] | 40 ] |
| 42 | 41 |
| 43 for name, url in page_list: | 42 for name, url in page_list: |
| 44 self.AddStory(ToughPathRenderingCasesPage(name=name, url=url, | 43 self.AddStory(ToughPathRenderingCasesPage(name=name, url=url, |
| 45 page_set=self)) | 44 page_set=self)) |
| 46 | 45 |
| 47 # Chalkboard content linked from | 46 # Chalkboard content linked from |
| 48 # http://ie.microsoft.com/testdrive/Performance/Chalkboard/. | 47 # http://ie.microsoft.com/testdrive/Performance/Chalkboard/. |
| 49 chalkboard_url = ('https://testdrive-archive.azurewebsites.net' | 48 chalkboard_url = ('https://testdrive-archive.azurewebsites.net' |
| 50 '/performance/chalkboard/') | 49 '/performance/chalkboard/') |
| 51 name = 'IE Chalkboard' | 50 name = 'IE Chalkboard' |
| 52 self.AddStory(ChalkboardPage(chalkboard_url, self, name=name)) | 51 self.AddStory(ChalkboardPage(chalkboard_url, self, name=name)) |
| OLD | NEW |