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

Unified Diff: tools/perf/benchmarks/service_worker.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/scirra.py ('k') | tools/perf/benchmarks/session_restore.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/service_worker.py
diff --git a/tools/perf/benchmarks/service_worker.py b/tools/perf/benchmarks/service_worker.py
index 08517ef5695f5f546025e08295081da3001608f2..d1664510bf6981c6bc4bc2d6bb47be5458df4c36 100644
--- a/tools/perf/benchmarks/service_worker.py
+++ b/tools/perf/benchmarks/service_worker.py
@@ -3,7 +3,7 @@
# found in the LICENSE file.
import page_sets
-from telemetry import test
+from telemetry import benchmark
from telemetry.page import page_measurement
@@ -20,6 +20,6 @@ class _ServiceWorkerMeasurement(page_measurement.PageMeasurement):
results.Add(key, value['units'], value['value'])
-class ServiceWorkerPerfTest(test.Test):
+class ServiceWorkerPerfTest(benchmark.Benchmark):
test = _ServiceWorkerMeasurement
page_set = page_sets.ServiceWorkerPageSet
« no previous file with comments | « tools/perf/benchmarks/scirra.py ('k') | tools/perf/benchmarks/session_restore.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698