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

Unified Diff: tools/perf/benchmarks/oilpan_gc_times.py

Issue 816353008: [Telemetry] Explicitly define Name() method for all perf benchmarks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: tools/perf/benchmarks/oilpan_gc_times.py
diff --git a/tools/perf/benchmarks/oilpan_gc_times.py b/tools/perf/benchmarks/oilpan_gc_times.py
index afa5f0ac5522a06eaa10f54a09544e03613dcfc8..88ea4897998e5d86e6a000722c5483d027957e4a 100644
--- a/tools/perf/benchmarks/oilpan_gc_times.py
+++ b/tools/perf/benchmarks/oilpan_gc_times.py
@@ -17,6 +17,10 @@ class OilpanGCTimesBlinkPerfAnimation(benchmark.Benchmark):
tag = 'blink_perf_animation'
test = oilpan_gc_times.OilpanGCTimesForBlinkPerf
+ @classmethod
+ def Name(cls):
+ return 'oilpan_gc_times.blink_perf_animation'
+
def CreatePageSet(self, options):
path = os.path.join(blink_perf.BLINK_PERF_BASE_DIR, 'Animation')
return blink_perf.CreatePageSetFromPath(path, blink_perf.SKIPPED_FILE)
@@ -27,6 +31,10 @@ class OilpanGCTimesBlinkPerfStress(benchmark.Benchmark):
tag = 'blink_perf_stress'
test = oilpan_gc_times.OilpanGCTimesForInternals
+ @classmethod
+ def Name(cls):
+ return 'oilpan_gc_times.blink_perf_stress'
+
def CreatePageSet(self, options):
path = os.path.join(blink_perf.BLINK_PERF_BASE_DIR, 'BlinkGC')
return blink_perf.CreatePageSetFromPath(path, blink_perf.SKIPPED_FILE)
@@ -36,12 +44,20 @@ class OilpanGCTimesSmoothnessAnimation(benchmark.Benchmark):
test = oilpan_gc_times.OilpanGCTimesForSmoothness
page_set = page_sets.ToughAnimationCasesPageSet
+ @classmethod
+ def Name(cls):
+ return 'oilpan_gc_times.tough_animation_cases'
+
@benchmark.Enabled('android')
class OilpanGCTimesKeySilkCases(benchmark.Benchmark):
test = oilpan_gc_times.OilpanGCTimesForSmoothness
page_set = page_sets.KeySilkCasesPageSet
+ @classmethod
+ def Name(cls):
+ return 'oilpan_gc_times.key_silk_cases'
+
@benchmark.Enabled('android')
class OilpanGCTimesSyncScrollKeyMobileSites(benchmark.Benchmark):
@@ -50,3 +66,7 @@ class OilpanGCTimesSyncScrollKeyMobileSites(benchmark.Benchmark):
page_set = page_sets.KeyMobileSitesSmoothPageSet
def CustomizeBrowserOptions(self, options):
silk_flags.CustomizeBrowserOptionsForSyncScrolling(options)
+ @classmethod
+ def Name(cls):
+ return 'oilpan_gc_times.sync_scroll.key_mobile_sites_smooth'
+

Powered by Google App Engine
This is Rietveld 408576698