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

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

Issue 23618042: [telemetry] Add new benchmarks and rename them all. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add tab switching and flag to netsim. Created 7 years, 3 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/startup.py ('k') | tools/telemetry/telemetry/test.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/media.py b/tools/perf/benchmarks/tab_switching.py
similarity index 51%
copy from tools/perf/benchmarks/media.py
copy to tools/perf/benchmarks/tab_switching.py
index e588ce14fcfb41b8de4bfe3ea0cda097bd3240b0..d18dc5f235513b3b2947aee637746c353514a847 100644
--- a/tools/perf/benchmarks/media.py
+++ b/tools/perf/benchmarks/tab_switching.py
@@ -1,11 +1,12 @@
# Copyright 2013 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 measurements import media
+
from telemetry import test
+from measurements import tab_switching
+
-class Media(test.Test):
- """Obtains media metrics for key user scenarios."""
- test = media.Media
- page_set = 'page_sets/tough_video_cases.json'
+class TabSwitchingTop10(test.Test):
+ test = tab_switching.TabSwitching
+ page_set = 'page_sets/top_10.json'
« no previous file with comments | « tools/perf/benchmarks/startup.py ('k') | tools/telemetry/telemetry/test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698