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

Unified Diff: tools/perf/benchmarks/start_with_url.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/speedometer.py ('k') | tools/perf/benchmarks/startup.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/start_with_url.py
diff --git a/tools/perf/benchmarks/start_with_url.py b/tools/perf/benchmarks/start_with_url.py
index 20d65e9ee52d4c19964371058eeaadbe76cc8be9..b4700e6cb7463a6f743f0439d607677c93ad3c05 100644
--- a/tools/perf/benchmarks/start_with_url.py
+++ b/tools/perf/benchmarks/start_with_url.py
@@ -1,14 +1,14 @@
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-from telemetry import test
+from telemetry import benchmark
from measurements import startup
import page_sets
-@test.Disabled('snowleopard') # crbug.com/336913
-class StartWithUrlCold(test.Test):
+@benchmark.Disabled('snowleopard') # crbug.com/336913
+class StartWithUrlCold(benchmark.Benchmark):
"""Measure time to start Chrome cold with startup URLs"""
tag = 'cold'
test = startup.StartWithUrl
@@ -16,7 +16,7 @@ class StartWithUrlCold(test.Test):
options = {'cold': True,
'pageset_repeat': 5}
-class StartWithUrlWarm(test.Test):
+class StartWithUrlWarm(benchmark.Benchmark):
"""Measure time to start Chrome warm with startup URLs"""
tag = 'warm'
test = startup.StartWithUrl
« no previous file with comments | « tools/perf/benchmarks/speedometer.py ('k') | tools/perf/benchmarks/startup.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698