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

Side by Side Diff: tools/perf/benchmarks/session_restore.py

Issue 596783005: [Telemetry] Do not run session_restore benchmarks on reference builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | tools/telemetry/telemetry/test_runner.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import os 5 import os
6 import tempfile 6 import tempfile
7 7
8 from measurements import session_restore 8 from measurements import session_restore
9 from measurements import session_restore_with_url 9 from measurements import session_restore_with_url
10 import page_sets 10 import page_sets
(...skipping 12 matching lines...) Expand all
23 profile_dir = os.path.join(tempfile.gettempdir(), profile_type) 23 profile_dir = os.path.join(tempfile.gettempdir(), profile_type)
24 if not os.path.exists(profile_dir): 24 if not os.path.exists(profile_dir):
25 new_args = args.Copy() 25 new_args = args.Copy()
26 new_args.pageset_repeat = 1 26 new_args.pageset_repeat = 1
27 new_args.output_dir = profile_dir 27 new_args.output_dir = profile_dir
28 profile_generator.GenerateProfiles( 28 profile_generator.GenerateProfiles(
29 small_profile_creator.SmallProfileCreator, profile_type, new_args) 29 small_profile_creator.SmallProfileCreator, profile_type, new_args)
30 args.browser_options.profile_dir = os.path.join(profile_dir, profile_type) 30 args.browser_options.profile_dir = os.path.join(profile_dir, profile_type)
31 31
32 32
33 @benchmark.Disabled('android', 'linux') # crbug.com/325479, crbug.com/381990 33 # crbug.com/325479, crbug.com/381990
34 @benchmark.Disabled('android', 'linux', 'reference')
34 class SessionRestoreColdTypical25(_SessionRestoreTest): 35 class SessionRestoreColdTypical25(_SessionRestoreTest):
35 tag = 'cold' 36 tag = 'cold'
36 test = session_restore.SessionRestore 37 test = session_restore.SessionRestore
37 page_set = page_sets.Typical25PageSet 38 page_set = page_sets.Typical25PageSet
38 options = {'cold': True, 39 options = {'cold': True,
39 'pageset_repeat': 5} 40 'pageset_repeat': 5}
40 41
41 42
42 @benchmark.Disabled('android', 'linux') # crbug.com/325479, crbug.com/381990 43 # crbug.com/325479, crbug.com/381990
44 @benchmark.Disabled('android', 'linux', 'reference')
43 class SessionRestoreWarmTypical25(_SessionRestoreTest): 45 class SessionRestoreWarmTypical25(_SessionRestoreTest):
44 tag = 'warm' 46 tag = 'warm'
45 test = session_restore.SessionRestore 47 test = session_restore.SessionRestore
46 page_set = page_sets.Typical25PageSet 48 page_set = page_sets.Typical25PageSet
47 options = {'warm': True, 49 options = {'warm': True,
48 'pageset_repeat': 20} 50 'pageset_repeat': 20}
49 51
50 52
51 # crbug.com/325479, crbug.com/381990, crbug.com/405386 53 # crbug.com/325479, crbug.com/381990, crbug.com/405386
52 @benchmark.Disabled('android', 'linux', 'snowleopard') 54 @benchmark.Disabled('android', 'linux', 'reference', 'snowleopard')
dtu 2014/09/24 03:04:35 Got a bug number? These bugs no longer match these
53 class SessionRestoreWithUrlCold(_SessionRestoreTest): 55 class SessionRestoreWithUrlCold(_SessionRestoreTest):
54 """Measure Chrome cold session restore with startup URLs.""" 56 """Measure Chrome cold session restore with startup URLs."""
55 tag = 'cold' 57 tag = 'cold'
56 test = session_restore_with_url.SessionRestoreWithUrl 58 test = session_restore_with_url.SessionRestoreWithUrl
57 page_set = page_sets.StartupPagesPageSet 59 page_set = page_sets.StartupPagesPageSet
58 options = {'cold': True, 60 options = {'cold': True,
59 'pageset_repeat': 5} 61 'pageset_repeat': 5}
60 62
61 63
62 # crbug.com/325479, crbug.com/381990, crbug.com/405386 64 # crbug.com/325479, crbug.com/381990, crbug.com/405386
63 @benchmark.Disabled('android', 'linux', 'snowleopard') 65 @benchmark.Disabled('android', 'linux', 'reference', 'snowleopard')
64 class SessionRestoreWithUrlWarm(_SessionRestoreTest): 66 class SessionRestoreWithUrlWarm(_SessionRestoreTest):
65 """Measure Chrome warm session restore with startup URLs.""" 67 """Measure Chrome warm session restore with startup URLs."""
66 tag = 'warm' 68 tag = 'warm'
67 test = session_restore_with_url.SessionRestoreWithUrl 69 test = session_restore_with_url.SessionRestoreWithUrl
68 page_set = page_sets.StartupPagesPageSet 70 page_set = page_sets.StartupPagesPageSet
69 options = {'warm': True, 71 options = {'warm': True,
70 'pageset_repeat': 10} 72 'pageset_repeat': 10}
OLDNEW
« no previous file with comments | « no previous file | tools/telemetry/telemetry/test_runner.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698