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

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

Issue 1217813005: [Telemetry] Modify CreatePageSet to CreateStorySet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Ethan's comments Created 5 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 | « tools/perf/benchmarks/jetstream.py ('k') | tools/perf/benchmarks/maps.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 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 os 7 import os
8 8
9 from core import perf_benchmark 9 from core import perf_benchmark
10 10
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 """Mozilla's Kraken JavaScript benchmark. 118 """Mozilla's Kraken JavaScript benchmark.
119 119
120 http://krakenbenchmark.mozilla.org/ 120 http://krakenbenchmark.mozilla.org/
121 """ 121 """
122 test = _KrakenMeasurement 122 test = _KrakenMeasurement
123 123
124 @classmethod 124 @classmethod
125 def Name(cls): 125 def Name(cls):
126 return 'kraken' 126 return 'kraken'
127 127
128 def CreatePageSet(self, options): 128 def CreateStorySet(self, options):
129 ps = page_set.PageSet( 129 ps = page_set.PageSet(
130 archive_data_file='../page_sets/data/kraken.json', 130 archive_data_file='../page_sets/data/kraken.json',
131 base_dir=os.path.dirname(os.path.abspath(__file__)), 131 base_dir=os.path.dirname(os.path.abspath(__file__)),
132 bucket=page_set.PARTNER_BUCKET) 132 bucket=page_set.PARTNER_BUCKET)
133 ps.AddUserStory(page_module.Page( 133 ps.AddUserStory(page_module.Page(
134 'http://krakenbenchmark.mozilla.org/kraken-1.1/driver.html', 134 'http://krakenbenchmark.mozilla.org/kraken-1.1/driver.html',
135 ps, ps.base_dir)) 135 ps, ps.base_dir))
136 return ps 136 return ps
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/jetstream.py ('k') | tools/perf/benchmarks/maps.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698