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

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

Issue 1029263003: [telemetry] Sort imports in Telemetry and its dependents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Manual adjustments in tools/perf Created 5 years, 9 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
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 from telemetry import benchmark
6
5 from measurements import page_cycler 7 from measurements import page_cycler
6 import page_sets 8 import page_sets
7 from telemetry import benchmark
8 9
9 10
10 class _PageCycler(benchmark.Benchmark): 11 class _PageCycler(benchmark.Benchmark):
11 options = {'pageset_repeat': 6} 12 options = {'pageset_repeat': 6}
12 cold_load_percent = 50 # % of page visits for which a cold load is forced 13 cold_load_percent = 50 # % of page visits for which a cold load is forced
13 14
14 @classmethod 15 @classmethod
15 def Name(cls): 16 def Name(cls):
16 return 'page_cycler' 17 return 'page_cycler'
17 18
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 229
229 def CreatePageSet(self, options): 230 def CreatePageSet(self, options):
230 return page_sets.Typical25PageSet(run_no_page_interactions=True) 231 return page_sets.Typical25PageSet(run_no_page_interactions=True)
231 232
232 @benchmark.Disabled # crbug.com/443730 233 @benchmark.Disabled # crbug.com/443730
233 class PageCyclerBigJs(_PageCycler): 234 class PageCyclerBigJs(_PageCycler):
234 page_set = page_sets.BigJsPageSet 235 page_set = page_sets.BigJsPageSet
235 @classmethod 236 @classmethod
236 def Name(cls): 237 def Name(cls):
237 return 'page_cycler.big_js' 238 return 'page_cycler.big_js'
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698