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

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

Issue 2152223002: [perfbot health] Disable v8.browsing_mobile.reference (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « 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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 re 5 import re
6 6
7 from core import perf_benchmark 7 from core import perf_benchmark
8 from telemetry import benchmark
8 from telemetry.timeline import chrome_trace_config 9 from telemetry.timeline import chrome_trace_config
9 from telemetry.timeline import chrome_trace_category_filter 10 from telemetry.timeline import chrome_trace_category_filter
10 from telemetry.web_perf import timeline_based_measurement 11 from telemetry.web_perf import timeline_based_measurement
11 import page_sets 12 import page_sets
12 13
13 14
14 # See tr.v.Numeric.getSummarizedScalarNumericsWithNames() 15 # See tr.v.Numeric.getSummarizedScalarNumericsWithNames()
15 # https://github.com/catapult-project/catapult/blob/master/tracing/tracing/value /numeric.html#L323 16 # https://github.com/catapult-project/catapult/blob/master/tracing/tracing/value /numeric.html#L323
16 _IGNORED_MEMORY_STATS_RE = re.compile(r'_(std|count|min|sum|pct_\d{4}(_\d+)?)$') 17 _IGNORED_MEMORY_STATS_RE = re.compile(r'_(std|count|min|sum|pct_\d{4}(_\d+)?)$')
17 18
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 82
82 83
83 class V8DesktopBrowsingBenchmark(_V8BrowsingBenchmark): 84 class V8DesktopBrowsingBenchmark(_V8BrowsingBenchmark):
84 PLATFORM = 'desktop' 85 PLATFORM = 'desktop'
85 86
86 @classmethod 87 @classmethod
87 def ShouldDisable(cls, possible_browser): 88 def ShouldDisable(cls, possible_browser):
88 return possible_browser.platform.GetDeviceTypeName() != 'Desktop' 89 return possible_browser.platform.GetDeviceTypeName() != 'Desktop'
89 90
90 91
92 @benchmark.Disabled('reference') # http://crbug.com/628631
91 class V8MobileBrowsingBenchmark(_V8BrowsingBenchmark): 93 class V8MobileBrowsingBenchmark(_V8BrowsingBenchmark):
92 PLATFORM = 'mobile' 94 PLATFORM = 'mobile'
93 95
94 @classmethod 96 @classmethod
95 def ShouldDisable(cls, possible_browser): 97 def ShouldDisable(cls, possible_browser):
96 return possible_browser.platform.GetDeviceTypeName() == 'Desktop' 98 return possible_browser.platform.GetDeviceTypeName() == 'Desktop'
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