OLD | NEW |
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 Microsoft's RoboHornet Pro benchmark.""" | 5 """Runs Microsoft's RoboHornet Pro benchmark.""" |
6 | 6 |
7 import os | 7 import os |
8 | 8 |
9 from metrics import power | 9 from metrics import power |
10 from telemetry import benchmark | 10 from telemetry import benchmark |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 | 44 |
45 # We plan to remove this test because it doesn't give useful data, but | 45 # We plan to remove this test because it doesn't give useful data, but |
46 # we need to wait until Chrome OS can implement support for more helpful | 46 # we need to wait until Chrome OS can implement support for more helpful |
47 # benchmarks. | 47 # benchmarks. |
48 @benchmark.Enabled('chromeos') | 48 @benchmark.Enabled('chromeos') |
49 class RobohornetPro(benchmark.Benchmark): | 49 class RobohornetPro(benchmark.Benchmark): |
50 test = _RobohornetProMeasurement | 50 test = _RobohornetProMeasurement |
51 | 51 |
52 def CreatePageSet(self, options): | 52 def CreatePageSet(self, options): |
53 ps = page_set.PageSet( | 53 ps = page_set.PageSet( |
54 archive_data_file='../page_sets/data/robohornet_pro.json', | 54 archive_data_file='../page_sets/data/robohornet_pro.json', |
55 # Measurement require use of real Date.now() for measurement. | 55 file_path=os.path.abspath(__file__), |
56 make_javascript_deterministic=False, | 56 bucket=page_set.PARTNER_BUCKET) |
57 file_path=os.path.abspath(__file__), | |
58 bucket=page_set.PARTNER_BUCKET) | |
59 ps.AddUserStory(page_module.Page( | 57 ps.AddUserStory(page_module.Page( |
60 'http://ie.microsoft.com/testdrive/performance/robohornetpro/', | 58 'http://ie.microsoft.com/testdrive/performance/robohornetpro/', |
61 ps, ps.base_dir)) | 59 ps, ps.base_dir, |
| 60 # Measurement require use of real Date.now() for measurement. |
| 61 make_javascript_deterministic=False)) |
62 return ps | 62 return ps |
OLD | NEW |