| 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 for Run Performance Test Bisect Tool | 5 """Config file for Run Performance Test Bisect Tool |
| 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 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 The metric name is "<graph>/<trace>". | 26 The metric name is "<graph>/<trace>". |
| 27 'repeat_count': The number of times to repeat the performance test. | 27 'repeat_count': The number of times to repeat the performance test. |
| 28 'max_time_minutes': The script will attempt to run the performance test | 28 'max_time_minutes': The script will attempt to run the performance test |
| 29 "repeat_count" times, unless it exceeds "max_time_minutes". | 29 "repeat_count" times, unless it exceeds "max_time_minutes". |
| 30 'truncate_percent': Discard the highest/lowest % values from performance test. | 30 'truncate_percent': Discard the highest/lowest % values from performance test. |
| 31 | 31 |
| 32 Sample config: | 32 Sample config: |
| 33 | 33 |
| 34 config = { | 34 config = { |
| 35 'command': './out/Release/performance_ui_tests' + | 35 'command': './tools/perf/run_measurement --browser=release blink_perf third_pa
rty/WebKit/PerformanceTests/Layout/floats_50_100.html', |
| 36 ' --gtest_filter=PageCyclerTest.Intl1File', | 36 'good_revision': '233015', |
| 37 'good_revision': '179755', | 37 'bad_revision': '233115', |
| 38 'bad_revision': '179782', | 38 'metric': 'floats_50_100/floats_50_100', |
| 39 'metric': 'times/t', | |
| 40 'repeat_count': '20', | 39 'repeat_count': '20', |
| 41 'max_time_minutes': '20', | 40 'max_time_minutes': '20', |
| 42 'truncate_percent': '25', | 41 'truncate_percent': '25', |
| 43 } | 42 } |
| 44 | 43 |
| 45 On Windows: | 44 On Windows: |
| 46 - If you're calling a python script you will need to add "python" to | 45 - If you're calling a python script you will need to add "python" to |
| 47 the command: | 46 the command: |
| 48 | 47 |
| 49 config = { | 48 config = { |
| (...skipping 30 matching lines...) Expand all Loading... |
| 80 'command': '', | 79 'command': '', |
| 81 'good_revision': '', | 80 'good_revision': '', |
| 82 'bad_revision': '', | 81 'bad_revision': '', |
| 83 'metric': '', | 82 'metric': '', |
| 84 'repeat_count':'', | 83 'repeat_count':'', |
| 85 'max_time_minutes': '', | 84 'max_time_minutes': '', |
| 86 'truncate_percent':'', | 85 'truncate_percent':'', |
| 87 } | 86 } |
| 88 | 87 |
| 89 # Workaround git try issue, see crbug.com/257689 | 88 # Workaround git try issue, see crbug.com/257689 |
| OLD | NEW |