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