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

Side by Side Diff: tools/perf/core/perf_data_generator.py

Issue 2869713004: Add performance_browser_tests to some Mac bots (Closed)
Patch Set: Created 3 years, 7 months 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.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 # pylint: disable=too-many-lines 6 # pylint: disable=too-many-lines
7 7
8 """Script to generate chromium.perf.json and chromium.perf.fyi.json in 8 """Script to generate chromium.perf.json and chromium.perf.fyi.json in
9 the src/testing/buildbot directory and benchmark.csv in the src/tools/perf 9 the src/testing/buildbot directory and benchmark.csv in the src/tools/perf
10 directory. Maintaining these files by hand is too unwieldy. 10 directory. Maintaining these files by hand is too unwieldy.
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 waterfall = add_tester( 446 waterfall = add_tester(
447 waterfall, 'Mac Retina Perf', 447 waterfall, 'Mac Retina Perf',
448 'chromium-rel-mac-retina', 'mac', 448 'chromium-rel-mac-retina', 'mac',
449 swarming=[ 449 swarming=[
450 { 450 {
451 'gpu': '8086:0d26', 451 'gpu': '8086:0d26',
452 'os': 'Mac-10.11', 452 'os': 'Mac-10.11',
453 'pool': 'Chrome-perf', 453 'pool': 'Chrome-perf',
454 'device_ids': [ 454 'device_ids': [
455 'build4-b1', 'build5-b1', 'build6-b1', 'build7-b1', 'build8-b1' 455 'build4-b1', 'build5-b1', 'build6-b1', 'build7-b1', 'build8-b1'
456 ] 456 ],
457 'perf_tests': [
458 ('performance_browser_tests', 'build6-b1')
nednguyen 2017/05/08 18:26:11 Martiniss: can you help me with picking the lest l
martiniss 2017/05/09 23:53:29 build8-b1
nednguyen 2017/05/09 23:56:35 Done.
459 ]
457 } 460 }
458 ]) 461 ])
459 waterfall = add_tester( 462 waterfall = add_tester(
460 waterfall, 'Mac Pro 10.11 Perf', 463 waterfall, 'Mac Pro 10.11 Perf',
461 'chromium-rel-mac11-pro', 'mac', 464 'chromium-rel-mac11-pro', 'mac',
462 swarming=[ 465 swarming=[
463 { 466 {
464 'gpu': '1002:6821', 467 'gpu': '1002:6821',
465 'os': 'Mac-10.11', 468 'os': 'Mac-10.11',
466 'pool': 'Chrome-perf', 469 'pool': 'Chrome-perf',
467 'device_ids': [ 470 'device_ids': [
468 'build128-b1', 'build129-b1', 471 'build128-b1', 'build129-b1',
469 'build130-b1', 'build131-b1', 'build132-b1' 472 'build130-b1', 'build131-b1', 'build132-b1'
470 ] 473 ],
474 'perf_tests': [
475 ('performance_browser_tests', 'build128-b1')
martiniss 2017/05/09 23:53:29 build132-b1
nednguyen 2017/05/09 23:56:35 Done.
476 ]
471 } 477 }
472 ]) 478 ])
473 waterfall = add_tester( 479 waterfall = add_tester(
474 waterfall, 'Mac Air 10.11 Perf', 480 waterfall, 'Mac Air 10.11 Perf',
475 'chromium-rel-mac11-air', 'mac', 481 'chromium-rel-mac11-air', 'mac',
476 swarming=[ 482 swarming=[
477 { 483 {
478 'gpu': '8086:1626', 484 'gpu': '8086:1626',
479 'os': 'Mac-10.11', 485 'os': 'Mac-10.11',
480 'pool': 'Chrome-perf', 486 'pool': 'Chrome-perf',
481 'device_ids': [ 487 'device_ids': [
482 'build123-b1', 'build124-b1', 488 'build123-b1', 'build124-b1',
483 'build125-b1', 'build126-b1', 'build127-b1' 489 'build125-b1', 'build126-b1', 'build127-b1'
484 ] 490 ],
491 'perf_tests': [
492 ('performance_browser_tests', 'build124-b1')
martiniss 2017/05/09 23:53:29 build126-b1
nednguyen 2017/05/09 23:56:35 Done.
493 ]
485 } 494 }
486 ]) 495 ])
487 waterfall = add_tester( 496 waterfall = add_tester(
488 waterfall, 'Mac Mini 8GB 10.12 Perf', 497 waterfall, 'Mac Mini 8GB 10.12 Perf',
489 'chromium-rel-mac12-mini-8gb', 'mac', 498 'chromium-rel-mac12-mini-8gb', 'mac',
490 swarming=[ 499 swarming=[
491 { 500 {
492 'gpu': '8086:0a26', 501 'gpu': '8086:0a26',
493 'os': 'Mac-10.12', 502 'os': 'Mac-10.12',
494 'pool': 'Chrome-perf', 503 'pool': 'Chrome-perf',
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
836 'BenchmarkMetadata', 'emails component not_scheduled') 845 'BenchmarkMetadata', 'emails component not_scheduled')
837 NON_TELEMETRY_BENCHMARKS = { 846 NON_TELEMETRY_BENCHMARKS = {
838 'angle_perftests': BenchmarkMetadata('jmadill@chromium.org', None, False), 847 'angle_perftests': BenchmarkMetadata('jmadill@chromium.org', None, False),
839 'cc_perftests': BenchmarkMetadata('enne@chromium.org', None, False), 848 'cc_perftests': BenchmarkMetadata('enne@chromium.org', None, False),
840 'gpu_perftests': BenchmarkMetadata('reveman@chromium.org', None, False), 849 'gpu_perftests': BenchmarkMetadata('reveman@chromium.org', None, False),
841 'tracing_perftests': BenchmarkMetadata( 850 'tracing_perftests': BenchmarkMetadata(
842 'kkraynov@chromium.org, primiano@chromium.org', None, False), 851 'kkraynov@chromium.org, primiano@chromium.org', None, False),
843 'load_library_perf_tests': BenchmarkMetadata(None, None, False), 852 'load_library_perf_tests': BenchmarkMetadata(None, None, False),
844 'media_perftests': BenchmarkMetadata('crouleau@chromium.org', None, False), 853 'media_perftests': BenchmarkMetadata('crouleau@chromium.org', None, False),
845 'performance_browser_tests': BenchmarkMetadata( 854 'performance_browser_tests': BenchmarkMetadata(
846 'hubbe@chromium.org, justinlin@chromium.org, miu@chromium.org', None, 855 'hubbe@chromium.org, justinlin@chromium.org, miu@chromium.org', None,
miu 2017/05/09 21:18:48 The owner list should just be me: 'miu@chromium.or
nednguyen 2017/05/09 23:56:35 Done.
847 False) 856 False)
848 } 857 }
849 858
850 859
851 # If you change this dictionary, run tools/perf/generate_perf_data 860 # If you change this dictionary, run tools/perf/generate_perf_data
852 NON_WATERFALL_BENCHMARKS = { 861 NON_WATERFALL_BENCHMARKS = {
853 'sizes (mac)': BenchmarkMetadata('tapted@chromium.org', None, False), 862 'sizes (mac)': BenchmarkMetadata('tapted@chromium.org', None, False),
854 'sizes (win)': BenchmarkMetadata('grt@chromium.org', None, False), 863 'sizes (win)': BenchmarkMetadata('grt@chromium.org', None, False),
855 'sizes (linux)': BenchmarkMetadata('thestig@chromium.org', None, False), 864 'sizes (linux)': BenchmarkMetadata('thestig@chromium.org', None, False),
856 'resource_sizes': BenchmarkMetadata( 865 'resource_sizes': BenchmarkMetadata(
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
967 return 0 976 return 0
968 else: 977 else:
969 print ('The perf JSON config files are not up-to-date. Please run %s ' 978 print ('The perf JSON config files are not up-to-date. Please run %s '
970 'without --validate-only flag to update the perf JSON ' 979 'without --validate-only flag to update the perf JSON '
971 'configs and benchmark.csv.') % sys.argv[0] 980 'configs and benchmark.csv.') % sys.argv[0]
972 return 1 981 return 1
973 else: 982 else:
974 update_all_tests([fyi_waterfall, waterfall]) 983 update_all_tests([fyi_waterfall, waterfall])
975 update_benchmark_csv() 984 update_benchmark_csv()
976 return 0 985 return 0
OLDNEW
« no previous file with comments | « testing/buildbot/chromium.perf.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698