Chromium Code Reviews| 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} |
| + |