OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 import json | 5 import json |
6 import math | 6 import math |
7 import os | 7 import os |
8 | 8 |
9 from telemetry import test | 9 from telemetry import test |
10 from telemetry.core import util | 10 from telemetry.core import util |
11 from telemetry.page import page_measurement | 11 from telemetry.page import page_measurement |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 'Events', | 90 'Events', |
91 'Get+Elements', | 91 'Get+Elements', |
92 'GridSort', | 92 'GridSort', |
93 'Template' | 93 'Template' |
94 ] | 94 ] |
95 ps = page_set.PageSet(file_path=dom_perf_dir) | 95 ps = page_set.PageSet(file_path=dom_perf_dir) |
96 for param in run_params: | 96 for param in run_params: |
97 ps.AddPageWithDefaultRunNavigate( | 97 ps.AddPageWithDefaultRunNavigate( |
98 'file://run.html?reportInJS=1&run=%s' % param) | 98 'file://run.html?reportInJS=1&run=%s' % param) |
99 return ps | 99 return ps |
OLD | NEW |