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 | 5 |
6 # Initializes all the perf directories. | 6 # Initializes all the perf directories. |
7 | 7 |
8 | 8 |
9 import optparse | 9 import optparse |
10 import os | 10 import os |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 'dom_perf': 'Dom', | 97 'dom_perf': 'Dom', |
98 'dromaeo_domcore': 'Dromaeo DOMCore', | 98 'dromaeo_domcore': 'Dromaeo DOMCore', |
99 'dromaeo_jslib': 'Dromaeo JSLib', | 99 'dromaeo_jslib': 'Dromaeo JSLib', |
100 'frame_rate': 'Frame Rate', | 100 'frame_rate': 'Frame Rate', |
101 'gpu_frame_rate': 'GPU Frame Rate', | 101 'gpu_frame_rate': 'GPU Frame Rate', |
102 'gpu_latency': 'GPU Latency', | 102 'gpu_latency': 'GPU Latency', |
103 'gpu_throughput': 'GPU Throughput', | 103 'gpu_throughput': 'GPU Throughput', |
104 'indexeddb': 'Page Cycler IndexedDB', | 104 'indexeddb': 'Page Cycler IndexedDB', |
105 'intl1': 'Page Cycler Intl1', | 105 'intl1': 'Page Cycler Intl1', |
106 'intl2': 'Page Cycler Intl2', | 106 'intl2': 'Page Cycler Intl2', |
| 107 'mach_ports': 'Mach Port Usage', |
107 'memory': 'Memory', | 108 'memory': 'Memory', |
108 'media_perf': 'Media Perf', | 109 'media_perf': 'Media Perf', |
109 'morejs': 'Page Cycler Morejs', | 110 'morejs': 'Page Cycler Morejs', |
110 'moz': 'Page Cycler Moz', | 111 'moz': 'Page Cycler Moz', |
111 'moz-http': 'Page Cycler Moz - HTTP', | 112 'moz-http': 'Page Cycler Moz - HTTP', |
112 'nacl-perf': 'NaCl Perf', | 113 'nacl-perf': 'NaCl Perf', |
113 'new-tab-ui-cold': 'New Tab Cold', | 114 'new-tab-ui-cold': 'New Tab Cold', |
114 'new-tab-ui-warm': 'New Tab Warm', | 115 'new-tab-ui-warm': 'New Tab Warm', |
115 'pnacl-tools': 'PNaCl Toolchain', | 116 'pnacl-tools': 'PNaCl Toolchain', |
116 'resource_sizes': 'Resource Sizes', | 117 'resource_sizes': 'Resource Sizes', |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 continue | 283 continue |
283 test_title = TestTitles[test_dir] | 284 test_title = TestTitles[test_dir] |
284 perf_dir = os.path.join(system_dir, test_dir) | 285 perf_dir = os.path.join(system_dir, test_dir) |
285 os.chmod(perf_dir, 0755) | 286 os.chmod(perf_dir, 0755) |
286 TestInit(perf_dir, system_title, test_title, symlink_list) | 287 TestInit(perf_dir, system_title, test_title, symlink_list) |
287 return 0 | 288 return 0 |
288 | 289 |
289 | 290 |
290 if __name__ == '__main__': | 291 if __name__ == '__main__': |
291 sys.exit(main()) | 292 sys.exit(main()) |
OLD | NEW |