| Index: tools/perf/benchmarks/smoothness.py
|
| diff --git a/tools/perf/benchmarks/smoothness.py b/tools/perf/benchmarks/smoothness.py
|
| index 9c8eaea2210d39ea243b1216aa558fff198f3c86..98fc8608b589b815415ab19b9c46cb370a2f9cab 100644
|
| --- a/tools/perf/benchmarks/smoothness.py
|
| +++ b/tools/perf/benchmarks/smoothness.py
|
| @@ -2,15 +2,15 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| -from telemetry import test
|
| +from telemetry import benchmark
|
|
|
| from benchmarks import silk_flags
|
| from measurements import smoothness
|
| import page_sets
|
|
|
|
|
| -@test.Disabled # crbug.com/368767
|
| -class SmoothnessTop25(test.Test):
|
| +@benchmark.Disabled # crbug.com/368767
|
| +class SmoothnessTop25(benchmark.Benchmark):
|
| """Measures rendering statistics while scrolling down the top 25 web pages.
|
|
|
| http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
|
| @@ -18,24 +18,24 @@ class SmoothnessTop25(test.Test):
|
| page_set = page_sets.Top25PageSet
|
|
|
|
|
| -@test.Disabled('linux', 'mac', 'win') # crbug.com/368767
|
| -class SmoothnessToughCanvasCases(test.Test):
|
| +@benchmark.Disabled('linux', 'mac', 'win') # crbug.com/368767
|
| +class SmoothnessToughCanvasCases(benchmark.Benchmark):
|
| test = smoothness.Smoothness
|
| page_set = page_sets.ToughCanvasCasesPageSet
|
|
|
|
|
| -@test.Disabled # crbug.com/373812
|
| -class SmoothnessToughWebGLCases(test.Test):
|
| +@benchmark.Disabled # crbug.com/373812
|
| +class SmoothnessToughWebGLCases(benchmark.Benchmark):
|
| test = smoothness.Smoothness
|
| page_set = page_sets.ToughWebglCasesPageSet
|
|
|
|
|
| -class SmoothnessMaps(test.Test):
|
| +class SmoothnessMaps(benchmark.Benchmark):
|
| test = smoothness.Smoothness
|
| page_set = page_sets.MapsPageSet
|
|
|
|
|
| -class SmoothnessKeyMobileSites(test.Test):
|
| +class SmoothnessKeyMobileSites(benchmark.Benchmark):
|
| """Measures rendering statistics while scrolling down the key mobile sites.
|
|
|
| http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
|
| @@ -43,13 +43,13 @@ class SmoothnessKeyMobileSites(test.Test):
|
| page_set = page_sets.KeyMobileSitesPageSet
|
|
|
|
|
| -@test.Disabled('android', 'mac') # crbug.com/350692, crbug.com/368767
|
| -class SmoothnessToughAnimationCases(test.Test):
|
| +@benchmark.Disabled('android', 'mac') # crbug.com/350692, crbug.com/368767
|
| +class SmoothnessToughAnimationCases(benchmark.Benchmark):
|
| test = smoothness.Smoothness
|
| page_set = page_sets.ToughAnimationCasesPageSet
|
|
|
|
|
| -class SmoothnessKeySilkCases(test.Test):
|
| +class SmoothnessKeySilkCases(benchmark.Benchmark):
|
| """Measures rendering statistics for the key silk cases without GPU
|
| rasterization
|
| """
|
| @@ -57,7 +57,7 @@ class SmoothnessKeySilkCases(test.Test):
|
| page_set = page_sets.KeySilkCasesPageSet
|
|
|
|
|
| -class SmoothnessFastPathKeySilkCases(test.Test):
|
| +class SmoothnessFastPathKeySilkCases(benchmark.Benchmark):
|
| """Measures rendering statistics for the key silk cases without GPU
|
| rasterization using bleeding edge rendering fast paths.
|
| """
|
| @@ -68,8 +68,8 @@ class SmoothnessFastPathKeySilkCases(test.Test):
|
| silk_flags.CustomizeBrowserOptionsForFastPath(options)
|
|
|
|
|
| -@test.Disabled('android') # crbug.com/363783
|
| -class SmoothnessGpuRasterizationTop25(test.Test):
|
| +@benchmark.Disabled('android') # crbug.com/363783
|
| +class SmoothnessGpuRasterizationTop25(benchmark.Benchmark):
|
| """Measures rendering statistics for the top 25 with GPU rasterization
|
| """
|
| tag = 'gpu_rasterization'
|
| @@ -79,8 +79,8 @@ class SmoothnessGpuRasterizationTop25(test.Test):
|
| silk_flags.CustomizeBrowserOptionsForGpuRasterization(options)
|
|
|
|
|
| -@test.Disabled('android') # crbug.com/363783
|
| -class SmoothnessGpuRasterizationKeyMobileSites(test.Test):
|
| +@benchmark.Disabled('android') # crbug.com/363783
|
| +class SmoothnessGpuRasterizationKeyMobileSites(benchmark.Benchmark):
|
| """Measures rendering statistics for the key mobile sites with GPU
|
| rasterization
|
| """
|
| @@ -91,7 +91,7 @@ class SmoothnessGpuRasterizationKeyMobileSites(test.Test):
|
| silk_flags.CustomizeBrowserOptionsForGpuRasterization(options)
|
|
|
|
|
| -class SmoothnessGpuRasterizationKeySilkCases(test.Test):
|
| +class SmoothnessGpuRasterizationKeySilkCases(benchmark.Benchmark):
|
| """Measures rendering statistics for the key silk cases with GPU rasterization
|
| """
|
| tag = 'gpu_rasterization'
|
| @@ -115,8 +115,8 @@ class SmoothnessFastPathGpuRasterizationKeySilkCases(
|
| silk_flags.CustomizeBrowserOptionsForFastPath(options)
|
|
|
|
|
| -@test.Disabled # crbug.com/384730
|
| -class SmoothnessToughPinchZoomCases(test.Test):
|
| +@benchmark.Disabled # crbug.com/384730
|
| +class SmoothnessToughPinchZoomCases(benchmark.Benchmark):
|
| """Measures rendering statistics for pinch-zooming into the tough pinch zoom
|
| cases
|
| """
|
| @@ -124,16 +124,16 @@ class SmoothnessToughPinchZoomCases(test.Test):
|
| page_set = page_sets.ToughPinchZoomCasesPageSet
|
|
|
|
|
| -@test.Disabled # crbug.com/370725
|
| -class SmoothnessPolymer(test.Test):
|
| +@benchmark.Disabled # crbug.com/370725
|
| +class SmoothnessPolymer(benchmark.Benchmark):
|
| """Measures rendering statistics for Polymer cases.
|
| """
|
| test = smoothness.Smoothness
|
| page_set = page_sets.PolymerPageSet
|
|
|
|
|
| -@test.Disabled # crbug.com/370725
|
| -class SmoothnessFastPathPolymer(test.Test):
|
| +@benchmark.Disabled # crbug.com/370725
|
| +class SmoothnessFastPathPolymer(benchmark.Benchmark):
|
| """Measures rendering statistics for the Polymer cases without GPU
|
| rasterization using bleeding edge rendering fast paths.
|
| """
|
| @@ -144,8 +144,8 @@ class SmoothnessFastPathPolymer(test.Test):
|
| silk_flags.CustomizeBrowserOptionsForFastPath(options)
|
|
|
|
|
| -@test.Disabled # crbug.com/370725
|
| -class SmoothnessGpuRasterizationPolymer(test.Test):
|
| +@benchmark.Disabled # crbug.com/370725
|
| +class SmoothnessGpuRasterizationPolymer(benchmark.Benchmark):
|
| """Measures rendering statistics for the Polymer cases with GPU rasterization
|
| """
|
| tag = 'gpu_rasterization'
|
| @@ -155,7 +155,7 @@ class SmoothnessGpuRasterizationPolymer(test.Test):
|
| silk_flags.CustomizeBrowserOptionsForGpuRasterization(options)
|
|
|
|
|
| -@test.Disabled # crbug.com/370725
|
| +@benchmark.Disabled # crbug.com/370725
|
| class SmoothnessFastPathGpuRasterizationPolymer(
|
| SmoothnessGpuRasterizationPolymer):
|
| """Measures rendering statistics for the Polymer cases with GPU rasterization
|
|
|