| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 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 Bot | 5 """Config file for Run Performance Test Bot |
| 6 | 6 |
| 7 This script is intended for use by anyone that wants to run a remote performance | 7 This script is intended for use by anyone that wants to run a remote performance |
| 8 test. Modify the config below and add the command to run the performance test, | 8 test. Modify the config below and add the command to run the performance test, |
| 9 the metric you're interested in, and repeat/discard parameters. You can then | 9 the metric you're interested in, and repeat/discard parameters. You can then |
| 10 run a git try <bot>. | 10 run a git try <bot>. |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 23 The metric name is "<graph>/<trace>". | 23 The metric name is "<graph>/<trace>". |
| 24 'repeat_count': The number of times to repeat the performance test. | 24 'repeat_count': The number of times to repeat the performance test. |
| 25 'max_time_minutes': The script will attempt to run the performance test | 25 'max_time_minutes': The script will attempt to run the performance test |
| 26 "repeat_count" times, unless it exceeds "max_time_minutes". | 26 "repeat_count" times, unless it exceeds "max_time_minutes". |
| 27 'truncate_percent': Discard the highest/lowest % values from performance test. | 27 'truncate_percent': Discard the highest/lowest % values from performance test. |
| 28 | 28 |
| 29 Sample config: | 29 Sample config: |
| 30 | 30 |
| 31 config = { | 31 config = { |
| 32 'command': './out/Release/performance_ui_tests' + | 32 'command': './tools/perf/run_measurement --browser=release blink_perf third_pa
rty/WebKit/PerformanceTests/Layout/floats_50_100.html', |
| 33 ' --gtest_filter=PageCyclerTest.Intl1File', | 33 'metric': 'floats_50_100/floats_50_100', |
| 34 'metric': 'times/t', | |
| 35 'repeat_count': '20', | 34 'repeat_count': '20', |
| 36 'max_time_minutes': '20', | 35 'max_time_minutes': '20', |
| 37 'truncate_percent': '25', | 36 'truncate_percent': '25', |
| 38 } | 37 } |
| 39 | 38 |
| 40 On Windows: | 39 On Windows: |
| 41 - If you're calling a python script you will need to add "python" to | 40 - If you're calling a python script you will need to add "python" to |
| 42 the command: | 41 the command: |
| 43 | 42 |
| 44 config = { | 43 config = { |
| (...skipping 24 matching lines...) Expand all Loading... |
| 69 | 68 |
| 70 config = { | 69 config = { |
| 71 'command': '', | 70 'command': '', |
| 72 'metric': '', | 71 'metric': '', |
| 73 'repeat_count': '', | 72 'repeat_count': '', |
| 74 'max_time_minutes': '', | 73 'max_time_minutes': '', |
| 75 'truncate_percent': '', | 74 'truncate_percent': '', |
| 76 } | 75 } |
| 77 | 76 |
| 78 # Workaround git try issue, see crbug.com/257689 | 77 # Workaround git try issue, see crbug.com/257689 |
| OLD | NEW |