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

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

Issue 2214853002: [perf] Disable tab_switching.five_blank_pages on mac-reference (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | no next file » | 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 tab_switching 7 from measurements import tab_switching
8 import page_sets 8 import page_sets
9 from telemetry import benchmark 9 from telemetry import benchmark
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 def CreateStorySet(self, options): 43 def CreateStorySet(self, options):
44 return page_sets.Typical25PageSet(run_no_page_interactions=True) 44 return page_sets.Typical25PageSet(run_no_page_interactions=True)
45 45
46 @classmethod 46 @classmethod
47 def Name(cls): 47 def Name(cls):
48 return 'tab_switching.typical_25' 48 return 'tab_switching.typical_25'
49 49
50 50
51 @benchmark.Disabled('android') # http://crbug.com/460084 51 @benchmark.Disabled('android') # http://crbug.com/460084
52 @benchmark.Disabled('mac-reference') # http://crbug.com/634360
52 @benchmark.Enabled('has tabs') 53 @benchmark.Enabled('has tabs')
53 class TabSwitchingFiveBlankTabs(perf_benchmark.PerfBenchmark): 54 class TabSwitchingFiveBlankTabs(perf_benchmark.PerfBenchmark):
54 """This test records the MPArch.RWH_TabSwitchPaintDuration histogram. 55 """This test records the MPArch.RWH_TabSwitchPaintDuration histogram.
55 56
56 The histogram is a measure of the time between when a tab was requested to be 57 The histogram is a measure of the time between when a tab was requested to be
57 shown, and when first paint occurred. The script opens 5 blank pages in 58 shown, and when first paint occurred. The script opens 5 blank pages in
58 different tabs, waits for them to load, and then switches to each tab and 59 different tabs, waits for them to load, and then switches to each tab and
59 records the metric. Blank pages are use to detect unnecessary idle wakeups. 60 records the metric. Blank pages are use to detect unnecessary idle wakeups.
60 """ 61 """
61 test = tab_switching.TabSwitching 62 test = tab_switching.TabSwitching
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 shown, and when first paint occurred. The script opens each page in different 97 shown, and when first paint occurred. The script opens each page in different
97 tabs, waits for them to load, and then switches to each tab and records the 98 tabs, waits for them to load, and then switches to each tab and records the
98 metric. The pages were chosen by hand to stress the image decoding system. 99 metric. The pages were chosen by hand to stress the image decoding system.
99 """ 100 """
100 test = tab_switching.TabSwitching 101 test = tab_switching.TabSwitching
101 page_set = page_sets.ToughImageCasesPageSet 102 page_set = page_sets.ToughImageCasesPageSet
102 103
103 @classmethod 104 @classmethod
104 def Name(cls): 105 def Name(cls):
105 return 'tab_switching.tough_image_cases' 106 return 'tab_switching.tough_image_cases'
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698