OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 spaceport.io's PerfMarks benchmark.""" | 5 """Runs spaceport.io's PerfMarks benchmark.""" |
6 | 6 |
7 import logging | 7 import logging |
8 import os | 8 import os |
9 | 9 |
10 from telemetry import test | 10 from telemetry import test |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 55 |
56 | 56 |
57 class Spaceport(test.Test): | 57 class Spaceport(test.Test): |
58 """spaceport.io's PerfMarks benchmark.""" | 58 """spaceport.io's PerfMarks benchmark.""" |
59 test = SpaceportMeasurement | 59 test = SpaceportMeasurement |
60 | 60 |
61 def CreatePageSet(self, options): | 61 def CreatePageSet(self, options): |
62 spaceport_dir = os.path.join(util.GetChromiumSrcDir(), 'chrome', 'test', | 62 spaceport_dir = os.path.join(util.GetChromiumSrcDir(), 'chrome', 'test', |
63 'data', 'third_party', 'spaceport') | 63 'data', 'third_party', 'spaceport') |
64 return page_set.PageSet.FromDict( | 64 return page_set.PageSet.FromDict( |
65 {'pages': [{'url': 'file:///index.html'}]}, | 65 {'pages': [{'url': 'file://index.html'}]}, |
66 spaceport_dir) | 66 spaceport_dir) |
OLD | NEW |