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

Side by Side Diff: tools/perf/benchmarks/jetstream.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/indexeddb_perf.py ('k') | tools/perf/benchmarks/kraken.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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 Apple's JetStream benchmark. 5 """Runs Apple's JetStream benchmark.
6 6
7 JetStream combines a variety of JavaScript benchmarks, covering a variety of 7 JetStream combines a variety of JavaScript benchmarks, covering a variety of
8 advanced workloads and programming techniques, and reports a single score that 8 advanced workloads and programming techniques, and reports a single score that
9 balances them using geometric mean. 9 balances them using geometric mean.
10 10
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 79
80 80
81 @benchmark.Disabled('android', 'xp') # crbug.com/381742 81 @benchmark.Disabled('android', 'xp') # crbug.com/381742
82 class Jetstream(perf_benchmark.PerfBenchmark): 82 class Jetstream(perf_benchmark.PerfBenchmark):
83 test = _JetstreamMeasurement 83 test = _JetstreamMeasurement
84 84
85 @classmethod 85 @classmethod
86 def Name(cls): 86 def Name(cls):
87 return 'jetstream' 87 return 'jetstream'
88 88
89 def CreatePageSet(self, options): 89 def CreateStorySet(self, options):
90 ps = page_set.PageSet( 90 ps = page_set.PageSet(
91 archive_data_file='../page_sets/data/jetstream.json', 91 archive_data_file='../page_sets/data/jetstream.json',
92 base_dir=os.path.dirname(os.path.abspath(__file__)), 92 base_dir=os.path.dirname(os.path.abspath(__file__)),
93 bucket=page_set.INTERNAL_BUCKET) 93 bucket=page_set.INTERNAL_BUCKET)
94 ps.AddUserStory(page_module.Page( 94 ps.AddUserStory(page_module.Page(
95 'http://browserbench.org/JetStream/', ps, ps.base_dir, 95 'http://browserbench.org/JetStream/', ps, ps.base_dir,
96 make_javascript_deterministic=False)) 96 make_javascript_deterministic=False))
97 return ps 97 return ps
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/indexeddb_perf.py ('k') | tools/perf/benchmarks/kraken.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698