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

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

Issue 2358063002: Preparing components_perftests (Closed)
Patch Set: Attempt to guess how generate_perf_json.py works Created 4 years, 3 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
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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 'script': 'gtest_perf_test.py', 83 'script': 'gtest_perf_test.py',
84 'testers': [ 84 'testers': [
85 { 85 {
86 'name': 'Linux Perf', 86 'name': 'Linux Perf',
87 'shards': [3] 87 'shards': [3]
88 }, 88 },
89 ] 89 ]
90 }, 90 },
91 { 91 {
92 'args': [ 92 'args': [
93 'components_perftests',
94 '--test-launcher-print-test-stdio=always',
95 '--gtest_filter=BlankPerfTest.BlankActivity',
96 ],
97 'name': 'components_perftests',
98 'script': 'gtest_perf_test.py',
99 'testers': [
100 {
101 'name': 'Linux Perf',
102 'shards': [3]
103 },
104 ]
105 },
106 {
107 'args': [
93 'load_library_perf_tests', 108 'load_library_perf_tests',
94 '--test-launcher-print-test-stdio=always' 109 '--test-launcher-print-test-stdio=always'
95 ], 110 ],
96 'name': 'load_library_perf_tests', 111 'name': 'load_library_perf_tests',
97 'script': 'gtest_perf_test.py', 112 'script': 'gtest_perf_test.py',
98 'testers': [ 113 'testers': [
99 { 114 {
100 'name': 'Linux Perf', 115 'name': 'Linux Perf',
101 'shards': [3] 116 'shards': [3]
102 }, 117 },
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 419
405 def main(): 420 def main():
406 waterfall = get_waterfall_config() 421 waterfall = get_waterfall_config()
407 fyi_waterfall = get_fyi_waterfall_config() 422 fyi_waterfall = get_fyi_waterfall_config()
408 generate_all_tests(fyi_waterfall, True) 423 generate_all_tests(fyi_waterfall, True)
409 generate_all_tests(waterfall, False) 424 generate_all_tests(waterfall, False)
410 return 0 425 return 0
411 426
412 if __name__ == "__main__": 427 if __name__ == "__main__":
413 sys.exit(main()) 428 sys.exit(main())
OLDNEW
« components/test/components_test_suit.h ('K') | « testing/buildbot/chromium.perf.fyi.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698