Chromium Code Reviews| Index: buildbot/slave/skia_slave_scripts/check_for_regressions.py |
| =================================================================== |
| --- buildbot/slave/skia_slave_scripts/check_for_regressions.py (revision 11713) |
| +++ buildbot/slave/skia_slave_scripts/check_for_regressions.py (working copy) |
| @@ -20,23 +20,20 @@ |
| **kwargs) |
| def _RunInternal(self, representation): |
| - path_to_bench_graph_svg = os.path.join('bench', 'bench_graph_svg.py') |
| + path_to_check_bench_regressions = os.path.join('bench', |
| + 'check_bench_regressions.py') |
| path_to_bench_expectations = os.path.join('bench', |
| 'bench_expectations_%s.txt' % self._builder_name) |
| if not os.path.isfile(path_to_bench_expectations): |
| print 'Skip due to missing expectations: %s' % path_to_bench_expectations |
|
borenet
2013/10/11 17:56:29
Nothing to do with your change, but this should be
benchen
2013/10/12 01:01:19
OK, thx.
On 2013/10/11 17:56:29, borenet wrote:
|
| return |
| - graph_title = 'Bench_Performance_for_%s' % self._builder_name |
| - cmd = ['python', path_to_bench_graph_svg, |
| + cmd = ['python', path_to_check_bench_regressions, |
| + '-a', representation, |
| + '-b', self._builder_name, |
| '-d', self._perf_data_dir, |
| '-e', path_to_bench_expectations, |
| - '-r', '-1', |
| - '-f', '-1', |
| - '-l', graph_title, |
| - '-m', representation, |
| + '-r', self._got_revision, |
| ] |
| - if self._builder_name.find('_Win') >= 0: |
| - cmd.extend(['-i', 'c']) # Ignore cpu time for Windows. |
| shell_utils.Bash(cmd) |