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

Unified Diff: tools/perf/benchmarks/maps.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/maps.py
diff --git a/tools/perf/benchmarks/maps.py b/tools/perf/benchmarks/maps.py
index e735d5b95445b6ede7a8659542e44c412c5e686e..feb5aa3ebab3b31925a9cb34cb95d484518eba2e 100644
--- a/tools/perf/benchmarks/maps.py
+++ b/tools/perf/benchmarks/maps.py
@@ -50,6 +50,10 @@ class MapsBenchmark(benchmark.Benchmark):
"""Basic Google Maps benchmarks."""
test = _MapsMeasurement
+ @classmethod
+ def Name(cls):
+ return 'maps'
+
def CreatePageSet(self, options):
page_set_path = os.path.join(
util.GetChromiumSrcDir(), 'tools', 'perf', 'page_sets')
@@ -63,5 +67,9 @@ class MapsNoVsync(MapsBenchmark):
"""Runs the Google Maps benchmark with Vsync disabled"""
tag = 'novsync'
+ @classmethod
+ def Name(cls):
+ return 'maps.novsync'
+
def CustomizeBrowserOptions(self, options):
options.AppendExtraBrowserArgs('--disable-gpu-vsync')

Powered by Google App Engine
This is Rietveld 408576698