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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 'python tools/perf/run_benchmark -v --browser=release sunspider', | 43 'python tools/perf/run_benchmark -v --browser=release sunspider', |
44 | 44 |
45 For ChromeOS: | 45 For ChromeOS: |
46 - For good and bad revision, the script may accept either ChromeOS versions | 46 - For good and bad revision, the script may accept either ChromeOS versions |
47 or unix timestamps. | 47 or unix timestamps. |
48 - You don't need to specify --identity and --remote, they will be added to | 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 | 49 the command using the bot's BISECT_CROS_IP and BISECT_CROS_BOARD values |
50 - Example: | 50 - Example: |
51 | 51 |
52 config = { | 52 config = { |
53 'command': ('./tools/perf/run_measurement -v --browser=cros-chrome-guest ' | 53 'command': ('./tools/perf/run_benchmark -v --browser=cros-chrome-guest ' |
54 'dromaeo.jslibstylejquery') | 54 'smoothness.key_mobile_sites') |
55 'good_revision': '4086.0.0', | 55 'good_revision': '4086.0.0', |
56 'bad_revision': '4087.0.0', | 56 'bad_revision': '4087.0.0', |
57 'metric': 'jslib/jslib', | 57 'metric': 'mean_frame_time/mean_frame_time', |
58 } | 58 } |
59 """ | 59 """ |
60 | 60 |
61 config = { | 61 config = { |
62 'command': '', | 62 'command': '', |
63 'good_revision': '', | 63 'good_revision': '', |
64 'bad_revision': '', | 64 'bad_revision': '', |
65 'metric': '', | 65 'metric': '', |
66 'repeat_count': '', | 66 'repeat_count': '', |
67 'max_time_minutes': '', | 67 'max_time_minutes': '', |
68 'truncate_percent': '', | 68 'truncate_percent': '', |
69 } | 69 } |
70 | 70 |
71 # Workaround git try issue, see crbug.com/257689 | 71 # Workaround git try issue, see crbug.com/257689 |
OLD | NEW |