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

Unified Diff: tools/perf/benchmarks/tab_switching.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/sunspider.py ('k') | tools/perf/benchmarks/thread_times.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/tab_switching.py
diff --git a/tools/perf/benchmarks/tab_switching.py b/tools/perf/benchmarks/tab_switching.py
index a79ab527921d849eafbb0cec26f424e0ca476d4c..a1cb74c8bf4df58e35449317f5abfc35b4af4512 100644
--- a/tools/perf/benchmarks/tab_switching.py
+++ b/tools/perf/benchmarks/tab_switching.py
@@ -2,33 +2,33 @@
# 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 tab_switching
import page_sets
-@test.Enabled('has tabs')
-class TabSwitchingTop10(test.Test):
+@benchmark.Enabled('has tabs')
+class TabSwitchingTop10(benchmark.Benchmark):
test = tab_switching.TabSwitching
page_set = page_sets.Top10PageSet
-@test.Enabled('has tabs')
-class TabSwitchingTypical25(test.Test):
+@benchmark.Enabled('has tabs')
+class TabSwitchingTypical25(benchmark.Benchmark):
test = tab_switching.TabSwitching
page_set = page_sets.Typical25PageSet
-@test.Enabled('has tabs')
-class TabSwitchingFiveBlankTabs(test.Test):
+@benchmark.Enabled('has tabs')
+class TabSwitchingFiveBlankTabs(benchmark.Benchmark):
test = tab_switching.TabSwitching
page_set = page_sets.FiveBlankPagesPageSet
options = {'pageset_repeat': 10}
-@test.Enabled('has tabs')
-class TabSwitchingToughEnergyCases(test.Test):
+@benchmark.Enabled('has tabs')
+class TabSwitchingToughEnergyCases(benchmark.Benchmark):
test = tab_switching.TabSwitching
page_set = page_sets.ToughEnergyCasesPageSet
options = {'pageset_repeat': 10}
« no previous file with comments | « tools/perf/benchmarks/sunspider.py ('k') | tools/perf/benchmarks/thread_times.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698