Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Side by Side Diff: tools/perf/benchmarks/scheduler.py

Issue 337603005: Rename telemetry.test.Test to telemetry.benchmark.Benchmark. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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')
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698