| 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 core import perf_benchmark | 9 from core import perf_benchmark |
| 10 | 10 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 """Milliseconds to complete the RoboHornetPro demo by Microsoft. | 53 """Milliseconds to complete the RoboHornetPro demo by Microsoft. |
| 54 | 54 |
| 55 http://ie.microsoft.com/testdrive/performance/robohornetpro/ | 55 http://ie.microsoft.com/testdrive/performance/robohornetpro/ |
| 56 """ | 56 """ |
| 57 test = _RobohornetProMeasurement | 57 test = _RobohornetProMeasurement |
| 58 | 58 |
| 59 @classmethod | 59 @classmethod |
| 60 def Name(cls): | 60 def Name(cls): |
| 61 return 'robohornet_pro' | 61 return 'robohornet_pro' |
| 62 | 62 |
| 63 def CreateStorySet(self, options): | 63 def CreatePageSet(self, options): |
| 64 ps = page_set.PageSet( | 64 ps = page_set.PageSet( |
| 65 archive_data_file='../page_sets/data/robohornet_pro.json', | 65 archive_data_file='../page_sets/data/robohornet_pro.json', |
| 66 base_dir=os.path.dirname(os.path.abspath(__file__)), | 66 base_dir=os.path.dirname(os.path.abspath(__file__)), |
| 67 bucket=page_set.PARTNER_BUCKET) | 67 bucket=page_set.PARTNER_BUCKET) |
| 68 ps.AddUserStory(page_module.Page( | 68 ps.AddUserStory(page_module.Page( |
| 69 'http://ie.microsoft.com/testdrive/performance/robohornetpro/', | 69 'http://ie.microsoft.com/testdrive/performance/robohornetpro/', |
| 70 ps, ps.base_dir, | 70 ps, ps.base_dir, |
| 71 # Measurement require use of real Date.now() for measurement. | 71 # Measurement require use of real Date.now() for measurement. |
| 72 make_javascript_deterministic=False)) | 72 make_javascript_deterministic=False)) |
| 73 return ps | 73 return ps |
| OLD | NEW |