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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 'dromaeo_jslibmodifyprototype': 'Dromaeo JSLib modify prototype', | 130 'dromaeo_jslibmodifyprototype': 'Dromaeo JSLib modify prototype', |
131 'dromaeo_jslibstylejquery': 'Dromaeo JSLib stylej query', | 131 'dromaeo_jslibstylejquery': 'Dromaeo JSLib stylej query', |
132 'dromaeo_jslibstyleprototype': 'Dromaeo JSLib style prototype', | 132 'dromaeo_jslibstyleprototype': 'Dromaeo JSLib style prototype', |
133 'dromaeo_jslibtraversejquery': 'Dromaeo JSLib traverse jquery', | 133 'dromaeo_jslibtraversejquery': 'Dromaeo JSLib traverse jquery', |
134 'dromaeo_jslibtraverseprototype': 'Dromaeo JSLib traverse prototype', | 134 'dromaeo_jslibtraverseprototype': 'Dromaeo JSLib traverse prototype', |
135 'frame_rate': 'Frame Rate', | 135 'frame_rate': 'Frame Rate', |
136 'gpu_frame_rate': 'GPU Frame Rate', | 136 'gpu_frame_rate': 'GPU Frame Rate', |
137 'gpu_latency': 'GPU Latency', | 137 'gpu_latency': 'GPU Latency', |
138 'gpu_throughput': 'GPU Throughput', | 138 'gpu_throughput': 'GPU Throughput', |
139 'idb_perf': 'Other IndexedDB', | 139 'idb_perf': 'Other IndexedDB', |
| 140 'image_decoding_benchmark': 'Image Decoding Benchmark', |
140 'indexeddb': 'Page Cycler IndexedDB', | 141 'indexeddb': 'Page Cycler IndexedDB', |
141 'intl1': 'Page Cycler Intl1', | 142 'intl1': 'Page Cycler Intl1', |
142 'intl2': 'Page Cycler Intl2', | 143 'intl2': 'Page Cycler Intl2', |
143 'jsgamebench': 'JSGameBench', | 144 'jsgamebench': 'JSGameBench', |
144 'kraken': 'Kraken', | 145 'kraken': 'Kraken', |
145 'mach_ports': 'Mach Port Usage', | 146 'mach_ports': 'Mach Port Usage', |
146 'memory': 'Memory', | 147 'memory': 'Memory', |
147 'memory_benchmark': 'Memory Benchmark', | 148 'memory_benchmark': 'Memory Benchmark', |
148 'media_perf': 'Media Perf', | 149 'media_perf': 'Media Perf', |
149 'media_tests_av_perf': 'Media Tests AV Perf', | 150 'media_tests_av_perf': 'Media Tests AV Perf', |
150 'morejs': 'Page Cycler Morejs', | 151 'morejs': 'Page Cycler Morejs', |
151 'moz': 'Page Cycler Moz', | 152 'moz': 'Page Cycler Moz', |
152 'moz-http': 'Page Cycler Moz - HTTP', | 153 'moz-http': 'Page Cycler Moz - HTTP', |
153 'nacl-perf': 'NaCl Perf', | 154 'nacl-perf': 'NaCl Perf', |
154 'new-tab-ui-cold': 'New Tab Cold', | 155 'new-tab-ui-cold': 'New Tab Cold', |
155 'new-tab-ui-warm': 'New Tab Warm', | 156 'new-tab-ui-warm': 'New Tab Warm', |
| 157 'octane': 'Octane', |
156 'page_cycler_2012Q2-netsim': 'Page Cycler 2012Q2 Netsim', | 158 'page_cycler_2012Q2-netsim': 'Page Cycler 2012Q2 Netsim', |
157 'pnacl-tools': 'PNaCl Toolchain', | 159 'pnacl-tools': 'PNaCl Toolchain', |
158 'pyauto_perf': 'Pyauto Perf', | 160 'pyauto_perf': 'Pyauto Perf', |
159 'resource_sizes': 'Resource Sizes', | 161 'resource_sizes': 'Resource Sizes', |
160 'robohornetpro': 'RoboHornet Pro', | 162 'robohornetpro': 'RoboHornet Pro', |
161 'scrolling_benchmark': 'Scrolling Benchmark', | 163 'scrolling_benchmark': 'Scrolling Benchmark', |
162 'sizes': 'Sizes', | 164 'sizes': 'Sizes', |
163 'spaceport': 'Spaceport', | 165 'spaceport': 'Spaceport', |
164 'spec2k': 'Spec2K', | 166 'spec2k': 'Spec2K', |
165 'startup': 'Startup', | 167 'startup': 'Startup', |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 continue | 330 continue |
329 test_title = TestTitles[test_dir] | 331 test_title = TestTitles[test_dir] |
330 perf_dir = os.path.join(system_dir, test_dir) | 332 perf_dir = os.path.join(system_dir, test_dir) |
331 os.chmod(perf_dir, 0755) | 333 os.chmod(perf_dir, 0755) |
332 TestInit(perf_dir, system_title, test_title, symlink_list) | 334 TestInit(perf_dir, system_title, test_title, symlink_list) |
333 return 0 | 335 return 0 |
334 | 336 |
335 | 337 |
336 if __name__ == '__main__': | 338 if __name__ == '__main__': |
337 sys.exit(main()) | 339 sys.exit(main()) |
OLD | NEW |