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

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

Issue 2916243003: Explicitly setting the story name for the Kraken story set. (Closed)
Patch Set: Created 3 years, 6 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 2012 The Chromium Authors. All rights reserved. 1 # Copyright 2012 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 """Runs Mozilla's Kraken JavaScript benchmark.""" 5 """Runs Mozilla's Kraken JavaScript benchmark."""
6 6
7 import json 7 import json
8 import os 8 import os
9 9
10 from core import perf_benchmark 10 from core import perf_benchmark
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 test = _KrakenMeasurement 125 test = _KrakenMeasurement
126 126
127 @classmethod 127 @classmethod
128 def Name(cls): 128 def Name(cls):
129 return 'kraken' 129 return 'kraken'
130 130
131 def CreateStorySet(self, options): 131 def CreateStorySet(self, options):
132 ps = story.StorySet( 132 ps = story.StorySet(
133 archive_data_file='../page_sets/data/kraken.json', 133 archive_data_file='../page_sets/data/kraken.json',
134 base_dir=os.path.dirname(os.path.abspath(__file__)), 134 base_dir=os.path.dirname(os.path.abspath(__file__)),
135 cloud_storage_bucket=story.PARTNER_BUCKET) 135 cloud_storage_bucket=story.PARTNER_BUCKET,
136 verify_names=True)
136 ps.AddStory(page_module.Page( 137 ps.AddStory(page_module.Page(
137 'http://krakenbenchmark.mozilla.org/kraken-1.1/driver.html', 138 'http://krakenbenchmark.mozilla.org/kraken-1.1/driver.html',
138 ps, ps.base_dir)) 139 ps, ps.base_dir,
140 name='http://krakenbenchmark.mozilla.org/kraken-1.1/driver.html'))
139 return ps 141 return ps
140 142
141 @classmethod 143 @classmethod
142 def ShouldDisable(cls, possible_browser): 144 def ShouldDisable(cls, possible_browser):
143 return cls.IsSvelte(possible_browser) # http://crbug.com/624411 145 return cls.IsSvelte(possible_browser) # http://crbug.com/624411
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