Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 import base64 | 5 import base64 |
| 6 import collections | 6 import collections |
| 7 import json | 7 import json |
| 8 | 8 |
| 9 DEPS = [ | 9 DEPS = [ |
| 10 'auto_bisect', | 10 'auto_bisect', |
| (...skipping 17 matching lines...) Expand all Loading... | |
| 28 api.m.chromium_tests.prepare_checkout(bot_config) | 28 api.m.chromium_tests.prepare_checkout(bot_config) |
| 29 api.auto_bisect.perform_bisect() | 29 api.auto_bisect.perform_bisect() |
| 30 | 30 |
| 31 def GenTests(api): | 31 def GenTests(api): |
| 32 basic_test = api.test('basic') | 32 basic_test = api.test('basic') |
| 33 broken_bad_rev_test = api.test('broken_bad_revision_test') | 33 broken_bad_rev_test = api.test('broken_bad_revision_test') |
| 34 broken_good_rev_test = api.test('broken_good_revision_test') | 34 broken_good_rev_test = api.test('broken_good_revision_test') |
| 35 return_code_test = api.test('basic_return_code_test') | 35 return_code_test = api.test('basic_return_code_test') |
| 36 basic_test += api.properties.generic( | 36 basic_test += api.properties.generic( |
| 37 mastername='tryserver.chromium.perf', | 37 mastername='tryserver.chromium.perf', |
| 38 buildername='linux_perf_bisector') | 38 buildername='linux_perf_bisect') |
|
hans
2016/04/27 15:49:42
This also seems unrelated to enabling sizes?
| |
| 39 broken_bad_rev_test += api.properties.generic( | 39 broken_bad_rev_test += api.properties.generic( |
| 40 mastername='tryserver.chromium.perf', | 40 mastername='tryserver.chromium.perf', |
| 41 buildername='linux_perf_bisector') | 41 buildername='linux_perf_bisect') |
| 42 broken_good_rev_test += api.properties.generic( | 42 broken_good_rev_test += api.properties.generic( |
| 43 mastername='tryserver.chromium.perf', | 43 mastername='tryserver.chromium.perf', |
| 44 buildername='linux_perf_bisector') | 44 buildername='linux_perf_bisect') |
| 45 return_code_test += api.properties.generic( | 45 return_code_test += api.properties.generic( |
| 46 mastername='tryserver.chromium.perf', | 46 mastername='tryserver.chromium.perf', |
| 47 buildername='linux_perf_bisector') | 47 buildername='linux_perf_bisect') |
| 48 | 48 |
| 49 bisect_config = { | 49 bisect_config = { |
| 50 'test_type': 'perf', | 50 'test_type': 'perf', |
| 51 'command': ('tools/perf/run_benchmark -v ' | 51 'command': ('tools/perf/run_benchmark -v ' |
| 52 '--browser=release page_cycler.intl_ar_fa_he'), | 52 '--browser=release page_cycler.intl_ar_fa_he'), |
| 53 'good_revision': '306475', | 53 'good_revision': '306475', |
| 54 'bad_revision': '306478', | 54 'bad_revision': '306478', |
| 55 'metric': 'warm_times/page_load_time', | 55 'metric': 'warm_times/page_load_time', |
| 56 'repeat_count': '2', | 56 'repeat_count': '2', |
| 57 'max_time_minutes': '5', | 57 'max_time_minutes': '5', |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 288 step_name = 'Reading culprit cl information.' | 288 step_name = 'Reading culprit cl information.' |
| 289 stdout = api.json.output(revision_data['cl_info']) | 289 stdout = api.json.output(revision_data['cl_info']) |
| 290 yield api.step_data(step_name, stdout=stdout) | 290 yield api.step_data(step_name, stdout=stdout) |
| 291 | 291 |
| 292 | 292 |
| 293 def _get_post_bisect_step_data(api, parent_step=''): | 293 def _get_post_bisect_step_data(api, parent_step=''): |
| 294 """Gets step data for perf_dashboard/resource/post_json.py.""" | 294 """Gets step data for perf_dashboard/resource/post_json.py.""" |
| 295 response = {'status_code': 200} | 295 response = {'status_code': 200} |
| 296 return api.step_data(parent_step + 'Post bisect results', | 296 return api.step_data(parent_step + 'Post bisect results', |
| 297 stdout=api.json.output(response)) | 297 stdout=api.json.output(response)) |
| OLD | NEW |