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

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

Issue 124733002: [Telemetry] Support downloading profiles from cloud storage (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Whitespace fixes Created 6 years, 11 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
Index: tools/perf/benchmarks/startup_with_extensions.py
diff --git a/tools/perf/benchmarks/startup_with_extensions.py b/tools/perf/benchmarks/startup_with_extensions.py
new file mode 100644
index 0000000000000000000000000000000000000000..bf358ae4269c7d8563c848184a518693241d399a
--- /dev/null
+++ b/tools/perf/benchmarks/startup_with_extensions.py
@@ -0,0 +1,42 @@
+# 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 measurements import startup
+
+
+class StartupColdTheme(test.Test):
tonyg 2014/01/06 18:53:55 I recommend putting these in benchmarks/startup.py
+ tag = 'theme_cold'
+ test = startup.Startup
+ page_set = 'page_sets/blank_page.json'
+ generated_profile_archive = 'theme_profile.zip'
+ options = {'cold': True,
+ 'pageset_repeat_iters': 5}
+
+
+class StartupWarmTheme(test.Test):
+ tag = 'theme_warm'
+ test = startup.Startup
+ page_set = 'page_sets/blank_page.json'
+ generated_profile_archive = 'theme_profile.zip'
+ options = {'warm': True,
+ 'pageset_repeat_iters': 20}
+
+class StartupColdManyExtensions(test.Test):
+ tag = 'many_extensions_cold'
+ test = startup.Startup
+ page_set = 'page_sets/blank_page.json'
+ generated_profile_archive = 'many_extensions_profile.zip'
+ options = {'cold': True,
+ 'pageset_repeat_iters': 5}
+
+
+class StartupWarmManyExtensions(test.Test):
+ tag = 'many_extensions_warm'
+ test = startup.Startup
+ page_set = 'page_sets/blank_page.json'
+ generated_profile_archive = 'many_extensions_profile.zip'
+ options = {'warm': True,
+ 'pageset_repeat_iters': 20}
+

Powered by Google App Engine
This is Rietveld 408576698