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

Unified Diff: tools/perf/benchmarks/dom_perf.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/dom_perf.py
diff --git a/tools/perf/benchmarks/dom_perf.py b/tools/perf/benchmarks/dom_perf.py
index 87c0bcb7e58dbde2256cd270aa6d7d4ee828bab6..26a0a0d6a451be0bef26e6dc09b267bfed2112a8 100644
--- a/tools/perf/benchmarks/dom_perf.py
+++ b/tools/perf/benchmarks/dom_perf.py
@@ -80,6 +80,10 @@ class DomPerf(benchmark.Benchmark):
means better performance: Bigger is better!"""
test = _DomPerfMeasurement
+ @classmethod
+ def Name(cls):
+ return 'dom_perf'
+
def CreatePageSet(self, options):
dom_perf_dir = os.path.join(util.GetChromiumSrcDir(), 'data', 'dom_perf')
run_params = [

Powered by Google App Engine
This is Rietveld 408576698