Index: tools/perf/benchmarks/smoothness.py |
diff --git a/tools/perf/benchmarks/smoothness.py b/tools/perf/benchmarks/smoothness.py |
index 246cc4c8ee5517d00fb0acffe928c9f04bbbdc1c..58feac10a9dc4b3b98876534d84194a9934f77e7 100644 |
--- a/tools/perf/benchmarks/smoothness.py |
+++ b/tools/perf/benchmarks/smoothness.py |
@@ -15,6 +15,10 @@ class SmoothnessTop25(benchmark.Benchmark): |
test = smoothness.Smoothness |
page_set = page_sets.Top25SmoothPageSet |
+ @classmethod |
+ def Name(cls): |
+ return 'smoothness.top_25_smooth' |
+ |
class SmoothnessToughFiltersCases(benchmark.Benchmark): |
"""Measures frame rate and a variety of other statistics. |
@@ -24,6 +28,10 @@ class SmoothnessToughFiltersCases(benchmark.Benchmark): |
test = smoothness.Smoothness |
page_set = page_sets.ToughFiltersCasesPageSet |
+ @classmethod |
+ def Name(cls): |
+ return 'smoothness.tough_filters_cases' |
+ |
# crbug.com/388877, crbug.com/396127 |
@benchmark.Disabled('mac', 'win', 'android') |
@@ -35,18 +43,30 @@ class SmoothnessToughCanvasCases(benchmark.Benchmark): |
test = smoothness.Smoothness |
page_set = page_sets.ToughCanvasCasesPageSet |
+ @classmethod |
+ def Name(cls): |
+ return 'smoothness.tough_canvas_cases' |
+ |
@benchmark.Disabled('android', 'mac', 'win') # crbug.com/373812 |
class SmoothnessToughWebGLCases(benchmark.Benchmark): |
test = smoothness.Smoothness |
page_set = page_sets.ToughWebglCasesPageSet |
+ @classmethod |
+ def Name(cls): |
+ return 'smoothness.tough_webgl_cases' |
+ |
@benchmark.Enabled('android') |
class SmoothnessMaps(benchmark.Benchmark): |
test = smoothness.Smoothness |
page_set = page_sets.MapsPageSet |
+ @classmethod |
+ def Name(cls): |
+ return 'smoothness.maps' |
+ |
@benchmark.Enabled('android') |
class SmoothnessKeyMobileSites(benchmark.Benchmark): |
@@ -56,11 +76,19 @@ class SmoothnessKeyMobileSites(benchmark.Benchmark): |
test = smoothness.Smoothness |
page_set = page_sets.KeyMobileSitesSmoothPageSet |
+ @classmethod |
+ def Name(cls): |
+ return 'smoothness.key_mobile_sites_smooth' |
+ |
class SmoothnessToughAnimationCases(benchmark.Benchmark): |
test = smoothness.Smoothness |
page_set = page_sets.ToughAnimationCasesPageSet |
+ @classmethod |
+ def Name(cls): |
+ return 'smoothness.tough_animation_cases' |
+ |
@benchmark.Enabled('android') |
class SmoothnessKeySilkCases(benchmark.Benchmark): |
@@ -70,6 +98,10 @@ class SmoothnessKeySilkCases(benchmark.Benchmark): |
test = smoothness.Smoothness |
page_set = page_sets.KeySilkCasesPageSet |
+ @classmethod |
+ def Name(cls): |
+ return 'smoothness.key_silk_cases' |
+ |
@benchmark.Enabled('android') |
class SmoothnessGpuRasterizationTop25(benchmark.Benchmark): |
@@ -81,6 +113,10 @@ class SmoothnessGpuRasterizationTop25(benchmark.Benchmark): |
def CustomizeBrowserOptions(self, options): |
silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) |
+ @classmethod |
+ def Name(cls): |
+ return 'smoothness.gpu_rasterization.top_25_smooth' |
+ |
@benchmark.Enabled('android') |
class SmoothnessGpuRasterizationKeyMobileSites(benchmark.Benchmark): |
@@ -93,6 +129,10 @@ class SmoothnessGpuRasterizationKeyMobileSites(benchmark.Benchmark): |
def CustomizeBrowserOptions(self, options): |
silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) |
+ @classmethod |
+ def Name(cls): |
+ return 'smoothness.gpu_rasterization.key_mobile_sites_smooth' |
+ |
@benchmark.Enabled('android') |
class SmoothnessSyncScrollKeyMobileSites(benchmark.Benchmark): |
@@ -105,12 +145,20 @@ class SmoothnessSyncScrollKeyMobileSites(benchmark.Benchmark): |
def CustomizeBrowserOptions(self, options): |
silk_flags.CustomizeBrowserOptionsForSyncScrolling(options) |
+ @classmethod |
+ def Name(cls): |
+ return 'smoothness.sync_scroll.key_mobile_sites_smooth' |
+ |
@benchmark.Enabled('android') |
class SmoothnessSimpleMobilePages(benchmark.Benchmark): |
"""Measures rendering statistics for simple mobile sites page set """ |
test = smoothness.Smoothness |
page_set = page_sets.SimpleMobileSitesPageSet |
+ @classmethod |
+ def Name(cls): |
+ return 'smoothness.simple_mobile_sites' |
+ |
@benchmark.Enabled('android', 'chromeos') |
class SmoothnessToughPinchZoomCases(benchmark.Benchmark): |
"""Measures rendering statistics for pinch-zooming into the tough pinch zoom |
@@ -119,6 +167,10 @@ class SmoothnessToughPinchZoomCases(benchmark.Benchmark): |
test = smoothness.Smoothness |
page_set = page_sets.ToughPinchZoomCasesPageSet |
+ @classmethod |
+ def Name(cls): |
+ return 'smoothness.tough_pinch_zoom_cases' |
+ |
@benchmark.Enabled('android') |
class SmoothnessPolymer(benchmark.Benchmark): |
@@ -127,6 +179,10 @@ class SmoothnessPolymer(benchmark.Benchmark): |
test = smoothness.Smoothness |
page_set = page_sets.PolymerPageSet |
+ @classmethod |
+ def Name(cls): |
+ return 'smoothness.polymer' |
+ |
@benchmark.Enabled('android') |
class SmoothnessGpuRasterizationPolymer(benchmark.Benchmark): |
@@ -138,12 +194,20 @@ class SmoothnessGpuRasterizationPolymer(benchmark.Benchmark): |
def CustomizeBrowserOptions(self, options): |
silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) |
+ @classmethod |
+ def Name(cls): |
+ return 'smoothness.gpu_rasterization.polymer' |
+ |
class SmoothnessToughFastScrollingCases(benchmark.Benchmark): |
test = smoothness.Smoothness |
page_set = page_sets.ToughScrollingCasesPageSet |
options = {'page_label_filter' : 'fastscrolling'} |
+ @classmethod |
+ def Name(cls): |
+ return 'smoothness.tough_scrolling_cases' |
+ |
class SmoothnessImageDecodingCases(benchmark.Benchmark): |
"""Measures decoding statistics for jpeg images. |
@@ -154,6 +218,10 @@ class SmoothnessImageDecodingCases(benchmark.Benchmark): |
silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) |
options.AppendExtraBrowserArgs('--disable-accelerated-jpeg-decoding') |
+ @classmethod |
+ def Name(cls): |
+ return 'smoothness.image_decoding_cases' |
+ |
class SmoothnessGpuImageDecodingCases(benchmark.Benchmark): |
"""Measures decoding statistics for jpeg images with GPU rasterization |
@@ -165,3 +233,7 @@ class SmoothnessGpuImageDecodingCases(benchmark.Benchmark): |
silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) |
# TODO: Remove the following line once M41 goes stable |
options.AppendExtraBrowserArgs('--enable-accelerated-jpeg-decoding') |
+ @classmethod |
+ def Name(cls): |
+ return 'smoothness.gpu_rasterization_and_decoding.image_decoding_cases' |
+ |