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

Side by Side Diff: tools/perf/benchmarks/octane.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/maps.py ('k') | tools/perf/benchmarks/oilpan_gc_times.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 Octane 2.0 javascript benchmark. 5 """Runs Octane 2.0 javascript benchmark.
6 6
7 Octane 2.0 is a modern benchmark that measures a JavaScript engine's performance 7 Octane 2.0 is a modern benchmark that measures a JavaScript engine's performance
8 by running a suite of tests representative of today's complex and demanding web 8 by running a suite of tests representative of today's complex and demanding web
9 applications. Octane's goal is to measure the performance of JavaScript code 9 applications. Octane's goal is to measure the performance of JavaScript code
10 found in large, real-world web applications. 10 found in large, real-world web applications.
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 """Google's Octane JavaScript benchmark. 135 """Google's Octane JavaScript benchmark.
136 136
137 http://octane-benchmark.googlecode.com/svn/latest/index.html 137 http://octane-benchmark.googlecode.com/svn/latest/index.html
138 """ 138 """
139 test = _OctaneMeasurement 139 test = _OctaneMeasurement
140 140
141 @classmethod 141 @classmethod
142 def Name(cls): 142 def Name(cls):
143 return 'octane' 143 return 'octane'
144 144
145 def CreatePageSet(self, options): 145 def CreateStorySet(self, options):
146 ps = page_set.PageSet( 146 ps = page_set.PageSet(
147 archive_data_file='../page_sets/data/octane.json', 147 archive_data_file='../page_sets/data/octane.json',
148 base_dir=os.path.dirname(os.path.abspath(__file__)), 148 base_dir=os.path.dirname(os.path.abspath(__file__)),
149 bucket=page_set.PUBLIC_BUCKET) 149 bucket=page_set.PUBLIC_BUCKET)
150 ps.AddUserStory(page_module.Page( 150 ps.AddUserStory(page_module.Page(
151 'http://octane-benchmark.googlecode.com/svn/latest/index.html?auto=1', 151 'http://octane-benchmark.googlecode.com/svn/latest/index.html?auto=1',
152 ps, ps.base_dir, make_javascript_deterministic=False)) 152 ps, ps.base_dir, make_javascript_deterministic=False))
153 return ps 153 return ps
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/maps.py ('k') | tools/perf/benchmarks/oilpan_gc_times.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698