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
3 # found in the LICENSE file.
5 """Config file for Run Performance Test Bisect Tool
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
9 below and add the revision range, performance command, and metric. You can then
12 Changes to this file should never be submitted.
15 'command': This is the full command line to pass to the
16 bisect-perf-regression.py script in order to execute the test.
17 'good_revision': An svn or git revision where the metric hadn't regressed yet.
18 'bad_revision': An svn or git revision sometime after the metric had
20 'metric': The name of the metric to parse out from the results of the
21 performance test. You can retrieve the metric by looking at the stdio of
22 the performance test. Look for lines of the format:
24 RESULT <graph>: <trace>= <value> <units>
26 The metric name is "<graph>/<trace>".
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
29 "repeat_count" times, unless it exceeds "max_time_minutes".
30 'truncate_percent': Discard the highest/lowest % values from performance test.
35 'command': './out/Release/performance_ui_tests' +
36 ' --gtest_filter=PageCyclerTest.Intl1File',
37 'good_revision': '179755',
38 'bad_revision': '179782',
41 'max_time_minutes': '20',
42 'truncate_percent': '25',
46 - If you're calling a python script you will need to add "python" to
50 'command': 'python tools/perf/run_measurement -v --browser=release kraken',
51 'good_revision': '185319',
52 'bad_revision': '185364',
53 'metric': 'Total/Total',
55 'max_time_minutes': '20',
56 'truncate_percent': '25',
61 - Script accepts either ChromeOS versions, or unix timestamps as revisions.
62 - You don't need to specify --identity and --remote, they will be added to
63 the command using the bot's BISECT_CROS_IP and BISECT_CROS_BOARD values.
66 'command': './tools/perf/run_measurement -v '\
67 '--browser=cros-chrome-guest '\
68 'dromaeo tools/perf/page_sets/dromaeo/jslibstylejquery.json',
69 'good_revision': '4086.0.0',
70 'bad_revision': '4087.0.0',
71 'metric': 'jslib/jslib',
73 'max_time_minutes': '20',
74 'truncate_percent': '25',
85 'max_time_minutes': '',
86 'truncate_percent':'',