| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 """Config file read by run-bisect-perf-regression.py. | 5 """Config file read by run-bisect-perf-regression.py. |
| 6 | 6 |
| 7 This script is intended for use by anyone that wants to run a remote bisection | 7 This script is intended for use by anyone that wants to run a remote bisection |
| 8 on a range of revisions to look for a performance regression. Modify the config | 8 on a range of revisions to look for a performance regression. Modify the config |
| 9 below and add the revision range, performance command, and metric. You can then | 9 below and add the revision range, performance command, and metric. You can then |
| 10 run a git try <bot>. | 10 run a git try <bot>. |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 'good_revision': '14ac2486c0eba1266d2da1c52e8759d9c784fe80', | 34 'good_revision': '14ac2486c0eba1266d2da1c52e8759d9c784fe80', |
| 35 'bad_revision': 'fcf8643d31301eea990a4c42d7d8c9fc30cc33ec', | 35 'bad_revision': 'fcf8643d31301eea990a4c42d7d8c9fc30cc33ec', |
| 36 'repeat_count': '20', | 36 'repeat_count': '20', |
| 37 'max_time_minutes': '20', | 37 'max_time_minutes': '20', |
| 38 'truncate_percent': '25', | 38 'truncate_percent': '25', |
| 39 } | 39 } |
| 40 | 40 |
| 41 For Windows, if you're calling a python script you will need to add "python" | 41 For Windows, if you're calling a python script you will need to add "python" |
| 42 to the command, so the command would be changed to: | 42 to the command, so the command would be changed to: |
| 43 'python tools/perf/run_benchmark -v --browser=release sunspider', | 43 'python tools/perf/run_benchmark -v --browser=release sunspider', |
| 44 | |
| 45 For ChromeOS: | |
| 46 - For good and bad revision, the script may accept either ChromeOS versions | |
| 47 or unix timestamps. | |
| 48 - You don't need to specify --identity and --remote, they will be added to | |
| 49 the command using the bot's BISECT_CROS_IP and BISECT_CROS_BOARD values | |
| 50 - Example: | |
| 51 | |
| 52 config = { | |
| 53 'command': ('./tools/perf/run_benchmark -v --browser=cros-chrome-guest ' | |
| 54 'smoothness.key_mobile_sites') | |
| 55 'good_revision': '4086.0.0', | |
| 56 'bad_revision': '4087.0.0', | |
| 57 'metric': 'mean_frame_time/mean_frame_time', | |
| 58 } | |
| 59 """ | 44 """ |
| 60 | 45 |
| 61 config = { | 46 config = { |
| 62 'command': '', | 47 'command': '', |
| 63 'good_revision': '', | 48 'good_revision': '', |
| 64 'bad_revision': '', | 49 'bad_revision': '', |
| 65 'metric': '', | 50 'metric': '', |
| 66 'repeat_count': '', | 51 'repeat_count': '', |
| 67 'max_time_minutes': '', | 52 'max_time_minutes': '', |
| 68 'truncate_percent': '', | 53 'truncate_percent': '', |
| 69 } | 54 } |
| 70 | 55 |
| 71 # Workaround git try issue, see crbug.com/257689 | 56 # Workaround git try issue, see crbug.com/257689 |
| OLD | NEW |