OLD | NEW |
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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 suite_times; | 73 suite_times; |
74 """ % suite_name), important=False)) | 74 """ % suite_name), important=False)) |
75 | 75 |
76 class Speedometer(benchmark.Benchmark): | 76 class Speedometer(benchmark.Benchmark): |
77 test = SpeedometerMeasurement | 77 test = SpeedometerMeasurement |
78 | 78 |
79 def CreatePageSet(self, options): | 79 def CreatePageSet(self, options): |
80 ps = page_set.PageSet( | 80 ps = page_set.PageSet( |
81 file_path=os.path.abspath(__file__), | 81 file_path=os.path.abspath(__file__), |
82 archive_data_file='../page_sets/data/speedometer.json', | 82 archive_data_file='../page_sets/data/speedometer.json', |
83 make_javascript_deterministic=False, | |
84 bucket=page_set.PUBLIC_BUCKET) | 83 bucket=page_set.PUBLIC_BUCKET) |
85 ps.AddUserStory(page_module.Page( | 84 ps.AddUserStory(page_module.Page( |
86 'http://browserbench.org/Speedometer/', ps, ps.base_dir)) | 85 'http://browserbench.org/Speedometer/', ps, ps.base_dir, |
| 86 make_javascript_deterministic=False)) |
87 return ps | 87 return ps |
OLD | NEW |