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

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

Issue 809653004: [Telemetry] Remove session_restore.{cold|warm}.startup_urls (previously disabled) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [Telemetry] Remove disabled tests session_restore.cold.startup_urls and session_restore.warm.startu… Created 6 years 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/perf/measurements/session_restore_with_url.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
10 import page_sets 9 import page_sets
11 from profile_creators import small_profile_creator 10 from profile_creators import small_profile_creator
12 from telemetry import benchmark 11 from telemetry import benchmark
13 from telemetry.page import profile_generator 12 from telemetry.page import profile_generator
14 13
15 14
16 class _SessionRestoreTest(benchmark.Benchmark): 15 class _SessionRestoreTest(benchmark.Benchmark):
17 16
18 @classmethod 17 @classmethod
19 def ProcessCommandLineArgs(cls, parser, args): 18 def ProcessCommandLineArgs(cls, parser, args):
(...skipping 28 matching lines...) Expand all
48 options = {'pageset_repeat': 5} 47 options = {'pageset_repeat': 5}
49 48
50 49
51 # crbug.com/325479, crbug.com/381990 50 # crbug.com/325479, crbug.com/381990
52 @benchmark.Disabled('android', 'linux', 'reference') 51 @benchmark.Disabled('android', 'linux', 'reference')
53 class SessionRestoreWarmTypical25(_SessionRestoreTest): 52 class SessionRestoreWarmTypical25(_SessionRestoreTest):
54 tag = 'warm' 53 tag = 'warm'
55 test = session_restore.SessionRestore 54 test = session_restore.SessionRestore
56 page_set = page_sets.Typical25PageSet 55 page_set = page_sets.Typical25PageSet
57 options = {'pageset_repeat': 20} 56 options = {'pageset_repeat': 20}
58
59
60 # crbug.com/325479, crbug.com/381990, crbug.com/405386
61 @benchmark.Disabled
62 class SessionRestoreWithUrlCold(_SessionRestoreTest):
63 """Measure Chrome cold session restore with startup URLs."""
64 tag = 'cold'
65 test = session_restore_with_url.SessionRestoreWithUrl
66 page_set = page_sets.StartupPagesPageSet
67 options = {'pageset_repeat': 5}
68
69
70 # crbug.com/325479, crbug.com/381990, crbug.com/405386
71 @benchmark.Disabled
72 class SessionRestoreWithUrlWarm(_SessionRestoreTest):
73 """Measure Chrome warm session restore with startup URLs."""
74 tag = 'warm'
75 test = session_restore_with_url.SessionRestoreWithUrl
76 page_set = page_sets.StartupPagesPageSet
77 options = {'pageset_repeat': 10}
OLDNEW
« no previous file with comments | « no previous file | tools/perf/measurements/session_restore_with_url.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698