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

Side by Side Diff: tools/perf/benchmarks/speedometer.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/spaceport.py ('k') | tools/perf/benchmarks/sunspider.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 """Apple's Speedometer performance benchmark. 5 """Apple's Speedometer performance benchmark.
6 6
7 Speedometer measures simulated user interactions in web applications. 7 Speedometer measures simulated user interactions in web applications.
8 8
9 The current benchmark uses TodoMVC to simulate user actions for adding, 9 The current benchmark uses TodoMVC to simulate user actions for adding,
10 completing, and removing to-do items. Speedometer repeats the same actions using 10 completing, and removing to-do items. Speedometer repeats the same actions using
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 """ % suite_name), important=False)) 83 """ % suite_name), important=False))
84 keychain_metric.KeychainMetric().AddResults(tab, results) 84 keychain_metric.KeychainMetric().AddResults(tab, results)
85 85
86 class Speedometer(perf_benchmark.PerfBenchmark): 86 class Speedometer(perf_benchmark.PerfBenchmark):
87 test = SpeedometerMeasurement 87 test = SpeedometerMeasurement
88 88
89 @classmethod 89 @classmethod
90 def Name(cls): 90 def Name(cls):
91 return 'speedometer' 91 return 'speedometer'
92 92
93 def CreatePageSet(self, options): 93 def CreateStorySet(self, options):
94 ps = page_set.PageSet( 94 ps = page_set.PageSet(
95 base_dir=os.path.dirname(os.path.abspath(__file__)), 95 base_dir=os.path.dirname(os.path.abspath(__file__)),
96 archive_data_file='../page_sets/data/speedometer.json', 96 archive_data_file='../page_sets/data/speedometer.json',
97 bucket=page_set.PUBLIC_BUCKET) 97 bucket=page_set.PUBLIC_BUCKET)
98 ps.AddUserStory(page_module.Page( 98 ps.AddUserStory(page_module.Page(
99 'http://browserbench.org/Speedometer/', ps, ps.base_dir, 99 'http://browserbench.org/Speedometer/', ps, ps.base_dir,
100 make_javascript_deterministic=False)) 100 make_javascript_deterministic=False))
101 return ps 101 return ps
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/spaceport.py ('k') | tools/perf/benchmarks/sunspider.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698