| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 from slave import recipe_api | 5 from recipe_engine import recipe_api |
| 6 | 6 |
| 7 | 7 |
| 8 # List of the benchmark that we run during the profiling step. | 8 # List of the benchmark that we run during the profiling step. |
| 9 # | 9 # |
| 10 # TODO(sebmarchand): Move this into a BenchmarkSuite in telemetry, this way | 10 # TODO(sebmarchand): Move this into a BenchmarkSuite in telemetry, this way |
| 11 # only have to run one benchmark. | 11 # only have to run one benchmark. |
| 12 _BENCHMARKS_TO_RUN = { | 12 _BENCHMARKS_TO_RUN = { |
| 13 'blink_perf.css', | 13 'blink_perf.css', |
| 14 'blink_perf.svg', | 14 'blink_perf.svg', |
| 15 'dromaeo.domcoreattr', | 15 'dromaeo.domcoreattr', |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 | 113 |
| 114 # First step: compilation of the instrumented build. | 114 # First step: compilation of the instrumented build. |
| 115 self._compile_instrumented_image(bot_config) | 115 self._compile_instrumented_image(bot_config) |
| 116 | 116 |
| 117 # Second step: profiling of the instrumented build. | 117 # Second step: profiling of the instrumented build. |
| 118 self._run_pgo_benchmarks() | 118 self._run_pgo_benchmarks() |
| 119 | 119 |
| 120 # Third step: Compilation of the optimized build, this will use the profile | 120 # Third step: Compilation of the optimized build, this will use the profile |
| 121 # data files produced by the previous step. | 121 # data files produced by the previous step. |
| 122 self._compile_optimized_image(bot_config) | 122 self._compile_optimized_image(bot_config) |
| OLD | NEW |