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

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

Issue 2844003003: Disable failing sunspider test on all platforms (Closed)
Patch Set: Created 3 years, 7 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 import collections 4 import collections
5 import json 5 import json
6 import os 6 import os
7 7
8 from core import perf_benchmark 8 from core import perf_benchmark
9 9
10 from telemetry import benchmark 10 from telemetry import benchmark
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 for key, values in r.iteritems(): 120 for key, values in r.iteritems():
121 results.AddValue(list_of_scalar_values.ListOfScalarValues( 121 results.AddValue(list_of_scalar_values.ListOfScalarValues(
122 results.current_page, key, 'ms', values, important=False, 122 results.current_page, key, 'ms', values, important=False,
123 description=DESCRIPTIONS.get(key))) 123 description=DESCRIPTIONS.get(key)))
124 results.AddValue(list_of_scalar_values.ListOfScalarValues( 124 results.AddValue(list_of_scalar_values.ListOfScalarValues(
125 results.current_page, 'Total', 'ms', totals, 125 results.current_page, 'Total', 'ms', totals,
126 description='Totals of run time for each different type of benchmark ' 126 description='Totals of run time for each different type of benchmark '
127 'in sunspider')) 127 'in sunspider'))
128 128
129 129
130 @benchmark.Disabled('all') # crbug.com/712208
130 @benchmark.Owner(emails=['bmeurer@chromium.org', 'mvstanton@chromium.org']) 131 @benchmark.Owner(emails=['bmeurer@chromium.org', 'mvstanton@chromium.org'])
131 class Sunspider(perf_benchmark.PerfBenchmark): 132 class Sunspider(perf_benchmark.PerfBenchmark):
132 """Apple's SunSpider JavaScript benchmark. 133 """Apple's SunSpider JavaScript benchmark.
133 134
134 http://www.webkit.org/perf/sunspider/sunspider.html 135 http://www.webkit.org/perf/sunspider/sunspider.html
135 """ 136 """
136 test = _SunspiderMeasurement 137 test = _SunspiderMeasurement
137 138
138 @classmethod 139 @classmethod
139 def Name(cls): 140 def Name(cls):
140 return 'sunspider' 141 return 'sunspider'
141 142
142 def CreateStorySet(self, options): 143 def CreateStorySet(self, options):
143 ps = story.StorySet( 144 ps = story.StorySet(
144 archive_data_file='../page_sets/data/sunspider.json', 145 archive_data_file='../page_sets/data/sunspider.json',
145 base_dir=os.path.dirname(os.path.abspath(__file__)), 146 base_dir=os.path.dirname(os.path.abspath(__file__)),
146 cloud_storage_bucket=story.PARTNER_BUCKET) 147 cloud_storage_bucket=story.PARTNER_BUCKET)
147 ps.AddStory(page_module.Page( 148 ps.AddStory(page_module.Page(
148 _URL, ps, ps.base_dir, make_javascript_deterministic=False)) 149 _URL, ps, ps.base_dir, make_javascript_deterministic=False))
149 return ps 150 return ps
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