| 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 | 4 |
| 5 from telemetry import benchmark | 5 from telemetry import benchmark |
| 6 from measurements import smoothness | 6 from measurements import smoothness |
| 7 import page_sets | 7 import page_sets |
| 8 | 8 |
| 9 | 9 |
| 10 class SchedulerToughSchedulingCases(benchmark.Benchmark): | 10 class SchedulerToughSchedulingCases(benchmark.Benchmark): |
| 11 """Measures rendering statistics while interacting with pages that have | 11 """Measures rendering statistics while interacting with pages that have |
| 12 challenging scheduling properties. | 12 challenging scheduling properties. |
| 13 | 13 |
| 14 https://docs.google.com/a/chromium.org/document/d/ | 14 https://docs.google.com/a/chromium.org/document/d/ |
| 15 17yhE5Po9By0sCdM1yZT3LiUECaUr_94rQt9j-4tOQIM/view""" | 15 17yhE5Po9By0sCdM1yZT3LiUECaUr_94rQt9j-4tOQIM/view""" |
| 16 test = smoothness.Smoothness | 16 test = smoothness.Smoothness |
| 17 page_set = page_sets.ToughSchedulingCasesPageSet | 17 page_set = page_sets.ToughSchedulingCasesPageSet |
| 18 | 18 |
| 19 | 19 |
| 20 # Pepper plugin is not supported on android. | 20 # Pepper plugin is not supported on android. |
| 21 @benchmark.Disabled('android', 'win') # crbug.com/384733 | 21 @benchmark.Disabled('android', 'win', 'mac') # crbug.com/384733 |
| 22 class SchedulerToughPepperCases(benchmark.Benchmark): | 22 class SchedulerToughPepperCases(benchmark.Benchmark): |
| 23 """Measures rendering statistics while interacting with pages that have | 23 """Measures rendering statistics while interacting with pages that have |
| 24 pepper plugins""" | 24 pepper plugins""" |
| 25 test = smoothness.Smoothness | 25 test = smoothness.Smoothness |
| 26 page_set = page_sets.ToughPepperCasesPageSet | 26 page_set = page_sets.ToughPepperCasesPageSet |
| 27 | 27 |
| 28 def CustomizeBrowserOptions(self, options): | 28 def CustomizeBrowserOptions(self, options): |
| 29 # This is needed for testing pepper plugin. | 29 # This is needed for testing pepper plugin. |
| 30 options.AppendExtraBrowserArgs('--enable-pepper-testing') | 30 options.AppendExtraBrowserArgs('--enable-pepper-testing') |
| OLD | NEW |