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

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

Issue 1920773002: Remove DhtmlPageSet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/perf/page_sets/page_cycler/dhtml.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 from core import perf_benchmark 5 from core import perf_benchmark
6 6
7 from measurements import page_cycler 7 from measurements import page_cycler
8 import page_sets 8 import page_sets
9 from telemetry import benchmark 9 from telemetry import benchmark
10 10
(...skipping 17 matching lines...) Expand all
28 return cls.cold_load_percent > 0 or not is_first_result 28 return cls.cold_load_percent > 0 or not is_first_result
29 29
30 def CreatePageTest(self, options): 30 def CreatePageTest(self, options):
31 return page_cycler.PageCycler( 31 return page_cycler.PageCycler(
32 page_repeat=options.page_repeat, 32 page_repeat=options.page_repeat,
33 pageset_repeat=options.pageset_repeat, 33 pageset_repeat=options.pageset_repeat,
34 cold_load_percent=self.cold_load_percent, 34 cold_load_percent=self.cold_load_percent,
35 report_speed_index=options.report_speed_index) 35 report_speed_index=options.report_speed_index)
36 36
37 37
38 # This is an old page set, we intend to remove it after more modern benchmarks
39 # work on CrOS.
40 @benchmark.Enabled('chromeos')
41 class PageCyclerDhtml(_PageCycler):
42 """Benchmarks for various DHTML operations like simple animations."""
43 page_set = page_sets.DhtmlPageSet
44
45 @classmethod
46 def Name(cls):
47 return 'page_cycler.dhtml'
48
49
50 class PageCyclerIntlArFaHe(_PageCycler): 38 class PageCyclerIntlArFaHe(_PageCycler):
51 """Page load time for a variety of pages in Arabic, Farsi and Hebrew. 39 """Page load time for a variety of pages in Arabic, Farsi and Hebrew.
52 40
53 Runs against pages recorded in April, 2013. 41 Runs against pages recorded in April, 2013.
54 """ 42 """
55 page_set = page_sets.IntlArFaHePageSet 43 page_set = page_sets.IntlArFaHePageSet
56 44
57 @classmethod 45 @classmethod
58 def Name(cls): 46 def Name(cls):
59 return 'page_cycler.intl_ar_fa_he' 47 return 'page_cycler.intl_ar_fa_he'
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 return 'page_cycler.basic_oopif' 224 return 'page_cycler.basic_oopif'
237 225
238 226
239 @benchmark.Disabled('all') # crbug.com/443730 227 @benchmark.Disabled('all') # crbug.com/443730
240 class PageCyclerBigJs(_PageCycler): 228 class PageCyclerBigJs(_PageCycler):
241 page_set = page_sets.BigJsPageSet 229 page_set = page_sets.BigJsPageSet
242 230
243 @classmethod 231 @classmethod
244 def Name(cls): 232 def Name(cls):
245 return 'page_cycler.big_js' 233 return 'page_cycler.big_js'
OLDNEW
« no previous file with comments | « no previous file | tools/perf/page_sets/page_cycler/dhtml.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698