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 |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a685e69ca87089da83f6c49b70747d29be24676a |
--- /dev/null |
+++ b/tools/perf/benchmarks/start_with_url.py |
@@ -0,0 +1,24 @@ |
+# 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 telemetry import test |
+ |
+from measurements import startup |
+ |
+ |
+class StartWithUrlCold(test.Test): |
+ """Measure time to start Chrome cold with startup URLs""" |
+ tag = 'cold' |
+ test = startup.Startup |
+ page_set = 'page_sets/startup_pages.json' |
+ options = {'cold': True, |
+ 'pageset_repeat_iters': 5} |
+ |
+class StartWithUrlWarm(test.Test): |
+ """Measure time to start Chrome warm with startup URLs""" |
+ tag = 'warm' |
+ test = startup.Startup |
+ page_set = 'page_sets/startup_pages.json' |
+ options = {'warm': True, |
+ 'pageset_repeat_iters': 10} |
+ |