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

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

Issue 2562013002: Enable tracing perftests on Android bots. (Closed)
Patch Set: 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.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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 'name': 'Android Nexus7v2 Perf', 69 'name': 'Android Nexus7v2 Perf',
70 'shards': [2] 70 'shards': [2]
71 }, 71 },
72 { 72 {
73 'name': 'Android Nexus9 Perf', 73 'name': 'Android Nexus9 Perf',
74 'shards': [2] 74 'shards': [2]
75 }, 75 },
76 ], 76 ],
77 } 77 }
78 }, 78 },
79 {
80 'args': [
81 'tracing_perftests',
82 '--adb-path',
83 'src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb',
84 ],
85 'name': 'tracing_perftests',
86 'script': 'gtest_perf_test.py',
87 'testers': {
88 'chromium.perf': [
89 {
90 'name': 'Android Nexus5 Perf',
91 'shards': [2]
92 },
93 {
94 'name': 'Android Nexus6 Perf',
95 'shards': [2]
96 },
97 {
98 'name': 'Android Nexus7v2 Perf',
99 'shards': [2]
100 },
101 {
102 'name': 'Android Nexus9 Perf',
103 'shards': [2]
104 },
105 ]
106 }
107 },
79 ] 108 ]
80 109
81 110
82 def add_tester(waterfall, name, perf_id, platform, target_bits=64, 111 def add_tester(waterfall, name, perf_id, platform, target_bits=64,
83 num_host_shards=1, num_device_shards=1, swarming=None, 112 num_host_shards=1, num_device_shards=1, swarming=None,
84 use_whitelist=False): 113 use_whitelist=False):
85 del perf_id # this will be needed 114 del perf_id # this will be needed
86 waterfall['testers'][name] = { 115 waterfall['testers'][name] = {
87 'platform': platform, 116 'platform': platform,
88 'num_device_shards': num_device_shards, 117 'num_device_shards': num_device_shards,
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
714 waterfall['name'] = 'chromium.perf' 743 waterfall['name'] = 'chromium.perf'
715 fyi_waterfall = get_fyi_waterfall_config() 744 fyi_waterfall = get_fyi_waterfall_config()
716 fyi_waterfall['name'] = 'chromium.perf.fyi' 745 fyi_waterfall['name'] = 'chromium.perf.fyi'
717 746
718 generate_all_tests(fyi_waterfall) 747 generate_all_tests(fyi_waterfall)
719 generate_all_tests(waterfall) 748 generate_all_tests(waterfall)
720 return 0 749 return 0
721 750
722 if __name__ == '__main__': 751 if __name__ == '__main__':
723 sys.exit(main()) 752 sys.exit(main())
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