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

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

Issue 337603005: Rename telemetry.test.Test to telemetry.benchmark.Benchmark. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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 | « tools/perf/benchmarks/speedometer.py ('k') | tools/perf/benchmarks/startup.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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 from telemetry import test 4 from telemetry import benchmark
5 5
6 from measurements import startup 6 from measurements import startup
7 import page_sets 7 import page_sets
8 8
9 9
10 @test.Disabled('snowleopard') # crbug.com/336913 10 @benchmark.Disabled('snowleopard') # crbug.com/336913
11 class StartWithUrlCold(test.Test): 11 class StartWithUrlCold(benchmark.Benchmark):
12 """Measure time to start Chrome cold with startup URLs""" 12 """Measure time to start Chrome cold with startup URLs"""
13 tag = 'cold' 13 tag = 'cold'
14 test = startup.StartWithUrl 14 test = startup.StartWithUrl
15 page_set = page_sets.StartupPagesPageSet 15 page_set = page_sets.StartupPagesPageSet
16 options = {'cold': True, 16 options = {'cold': True,
17 'pageset_repeat': 5} 17 'pageset_repeat': 5}
18 18
19 class StartWithUrlWarm(test.Test): 19 class StartWithUrlWarm(benchmark.Benchmark):
20 """Measure time to start Chrome warm with startup URLs""" 20 """Measure time to start Chrome warm with startup URLs"""
21 tag = 'warm' 21 tag = 'warm'
22 test = startup.StartWithUrl 22 test = startup.StartWithUrl
23 page_set = page_sets.StartupPagesPageSet 23 page_set = page_sets.StartupPagesPageSet
24 options = {'warm': True, 24 options = {'warm': True,
25 'pageset_repeat': 10} 25 'pageset_repeat': 10}
26 26
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/speedometer.py ('k') | tools/perf/benchmarks/startup.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698