Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(284)

Side by Side Diff: tools/perf/generate_perf_json.py

Issue 2557953003: Adding io_timeout to our swarming tests. (Closed)
Patch Set: reducing io timeout to an hour Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « testing/buildbot/chromium.perf.fyi.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2016 The Chromium Authors. All rights reserved. 2 # Copyright 2016 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Script to generate chromium.perf.json and chromium.perf.fyi.json in 6 """Script to generate chromium.perf.json and chromium.perf.fyi.json in
7 the src/testing/buildbot directory. Maintaining these files by hand is 7 the src/testing/buildbot directory. Maintaining these files by hand is
8 too unwieldy. 8 too unwieldy.
9 """ 9 """
10 10
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 } 443 }
444 if override_compile_targets: 444 if override_compile_targets:
445 result['override_compile_targets'] = override_compile_targets 445 result['override_compile_targets'] = override_compile_targets
446 if swarming_dimensions: 446 if swarming_dimensions:
447 result['swarming'] = { 447 result['swarming'] = {
448 # Always say this is true regardless of whether the tester 448 # Always say this is true regardless of whether the tester
449 # supports swarming. It doesn't hurt. 449 # supports swarming. It doesn't hurt.
450 'can_use_on_swarming_builders': True, 450 'can_use_on_swarming_builders': True,
451 'expiration': 21600, 451 'expiration': 21600,
452 'hard_timeout': 7200, 452 'hard_timeout': 7200,
453 'io_timeout': 3600,
453 'dimension_sets': swarming_dimensions, 454 'dimension_sets': swarming_dimensions,
454 } 455 }
455 return result 456 return result
456 457
457 458
458 def generate_telemetry_test(swarming_dimensions, benchmark_name, browser): 459 def generate_telemetry_test(swarming_dimensions, benchmark_name, browser):
459 # The step name must end in 'test' or 'tests' in order for the 460 # The step name must end in 'test' or 'tests' in order for the
460 # results to automatically show up on the flakiness dashboard. 461 # results to automatically show up on the flakiness dashboard.
461 # (At least, this was true some time ago.) Continue to use this 462 # (At least, this was true some time ago.) Continue to use this
462 # naming convention for the time being to minimize changes. 463 # naming convention for the time being to minimize changes.
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 waterfall['name'] = 'chromium.perf' 747 waterfall['name'] = 'chromium.perf'
747 fyi_waterfall = get_fyi_waterfall_config() 748 fyi_waterfall = get_fyi_waterfall_config()
748 fyi_waterfall['name'] = 'chromium.perf.fyi' 749 fyi_waterfall['name'] = 'chromium.perf.fyi'
749 750
750 generate_all_tests(fyi_waterfall) 751 generate_all_tests(fyi_waterfall)
751 generate_all_tests(waterfall) 752 generate_all_tests(waterfall)
752 return 0 753 return 0
753 754
754 if __name__ == '__main__': 755 if __name__ == '__main__':
755 sys.exit(main()) 756 sys.exit(main())
OLDNEW
« no previous file with comments | « testing/buildbot/chromium.perf.fyi.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698