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

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

Issue 337603005: Rename telemetry.test.Test to telemetry.benchmark.Benchmark. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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
« no previous file with comments | « tools/perf/benchmarks/dom_perf.py ('k') | tools/perf/benchmarks/endure.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/dromaeo.py
diff --git a/tools/perf/benchmarks/dromaeo.py b/tools/perf/benchmarks/dromaeo.py
index 775c9fe8411405a0490af9038e5bc218534f6e68..7d0c8b207dc720fa23f44adffb74f1da549cd6a0 100644
--- a/tools/perf/benchmarks/dromaeo.py
+++ b/tools/perf/benchmarks/dromaeo.py
@@ -6,7 +6,7 @@ import math
import os
from metrics import power
-from telemetry import test
+from telemetry import benchmark
from telemetry.page import page_measurement
from telemetry.page import page_set
@@ -86,7 +86,7 @@ class _DromaeoMeasurement(page_measurement.PageMeasurement):
for key, value in aggregated.iteritems():
AddResult(key, math.exp(value['sum'] / value['count']))
-class _DromaeoBenchmark(test.Test):
+class _DromaeoBenchmark(benchmark.Benchmark):
"""A base class for Dromaeo benchmarks."""
test = _DromaeoMeasurement
@@ -112,7 +112,7 @@ class DromaeoDomCoreAttr(_DromaeoBenchmark):
query_param = 'dom-attr'
-@test.Disabled('xp') # crbug.com/323782
+@benchmark.Disabled('xp') # crbug.com/323782
class DromaeoDomCoreModify(_DromaeoBenchmark):
"""Dromaeo DOMCore modify JavaScript benchmark."""
tag = 'domcoremodify'
« no previous file with comments | « tools/perf/benchmarks/dom_perf.py ('k') | tools/perf/benchmarks/endure.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698