OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 import os | 5 import os |
6 import sys | 6 import sys |
7 | 7 |
8 import perf_tools | 8 import perf_tools |
9 from telemetry import record_wpr | 9 from telemetry.page import record_wpr |
10 | 10 |
11 if __name__ == '__main__': | 11 if __name__ == '__main__': |
12 benchmark_dir = os.path.join(os.path.dirname(__file__), 'perf_tools') | 12 benchmark_dir = os.path.join(os.path.dirname(__file__), 'perf_tools') |
13 sys.exit(record_wpr.Main(benchmark_dir)) | 13 sys.exit(record_wpr.Main(benchmark_dir)) |
OLD | NEW |