OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 import multiprocessing | 4 import multiprocessing |
5 | 5 |
6 from core import perf_benchmark | 6 from core import perf_benchmark |
7 | 7 |
8 from benchmarks import silk_flags | 8 from benchmarks import silk_flags |
9 from measurements import smoothness | 9 from measurements import smoothness |
10 import page_sets | 10 import page_sets |
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 """Measures rendering statistics while scrolling advertisements.""" | 535 """Measures rendering statistics while scrolling advertisements.""" |
536 page_set = page_sets.SyntheticToughWebglAdCasesPageSet | 536 page_set = page_sets.SyntheticToughWebglAdCasesPageSet |
537 | 537 |
538 @classmethod | 538 @classmethod |
539 def Name(cls): | 539 def Name(cls): |
540 return 'smoothness.tough_webgl_ad_cases' | 540 return 'smoothness.tough_webgl_ad_cases' |
541 | 541 |
542 @classmethod | 542 @classmethod |
543 def ShouldDisable(cls, possible_browser): | 543 def ShouldDisable(cls, possible_browser): |
544 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 | 544 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 |
| 545 |
| 546 class SmoothnessMotionmark(_Smoothness): |
| 547 """Measures frame rate and a variety of other statistics on MotionMark cases. |
| 548 """ |
| 549 page_set = page_sets.MotionMarkPageSet |
| 550 |
| 551 def SetExtraBrowserOptions(self, options): |
| 552 options.AppendExtraBrowserArgs('--enable-experimental-canvas-features') |
| 553 |
| 554 @classmethod |
| 555 def Name(cls): |
| 556 return 'smoothness.motionmark' |
OLD | NEW |