OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 """Utility script to run the benchmarks during the profiling step of a PGO | 5 """Utility script to run the benchmarks during the profiling step of a PGO |
6 build. | 6 build. |
7 """ | 7 """ |
8 | 8 |
9 import json | 9 import json |
10 import optparse | 10 import optparse |
(...skipping 26 matching lines...) Expand all Loading... |
37 'dromaeo.domcoreattr', | 37 'dromaeo.domcoreattr', |
38 'dromaeo.domcoremodify', | 38 'dromaeo.domcoremodify', |
39 'dromaeo.domcorequery', | 39 'dromaeo.domcorequery', |
40 'dromaeo.domcoretraverse', | 40 'dromaeo.domcoretraverse', |
41 'dromaeo.jslibattrprototype', | 41 'dromaeo.jslibattrprototype', |
42 'dromaeo.jslibeventprototype', | 42 'dromaeo.jslibeventprototype', |
43 'dromaeo.jslibmodifyprototype', | 43 'dromaeo.jslibmodifyprototype', |
44 'dromaeo.jslibstyleprototype', | 44 'dromaeo.jslibstyleprototype', |
45 'dromaeo.jslibtraversejquery', | 45 'dromaeo.jslibtraversejquery', |
46 'dromaeo.jslibtraverseprototype', | 46 'dromaeo.jslibtraverseprototype', |
47 'indexeddb_perf', | |
48 'media.tough_video_cases', | 47 'media.tough_video_cases', |
49 'octane', | 48 'octane', |
50 'smoothness.top_25_smooth', | 49 'smoothness.top_25_smooth', |
51 'speedometer', | 50 'speedometer', |
| 51 'storage.indexeddb_endure_tracing', |
52 'sunspider', | 52 'sunspider', |
53 } | 53 } |
54 | 54 |
55 | 55 |
56 def FindPgosweep(target_cpu): | 56 def FindPgosweep(target_cpu): |
57 """Find the directory containing pgosweep.exe. | 57 """Find the directory containing pgosweep.exe. |
58 | 58 |
59 Note: |target_cpu| should be x86 or x64. | 59 Note: |target_cpu| should be x86 or x64. |
60 """ | 60 """ |
61 if target_cpu not in ('x86', 'x64'): | 61 if target_cpu not in ('x86', 'x64'): |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 if not options.build_dir: | 147 if not options.build_dir: |
148 parser.error('--build-dir is required') | 148 parser.error('--build-dir is required') |
149 if not options.browser_type: | 149 if not options.browser_type: |
150 options.browser_type = 'exact' | 150 options.browser_type = 'exact' |
151 | 151 |
152 return RunBenchmarks(options) | 152 return RunBenchmarks(options) |
153 | 153 |
154 | 154 |
155 if __name__ == '__main__': | 155 if __name__ == '__main__': |
156 sys.exit(main()) | 156 sys.exit(main()) |
OLD | NEW |