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

Side by Side Diff: scripts/slave/recipe_modules/chromium_tests/chromium_perf_fyi.py

Issue 2030713004: Refactor chromium.perf recipe configs. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@2-refactorr
Patch Set: FYI configs. Created 4 years, 6 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 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 from . import steps 5 from . import steps
6 6
7 7
8 RESULTS_URL = 'https://chromeperf.appspot.com' 8 RESULTS_URL = 'https://chromeperf.appspot.com'
9 9
10 10
11 def _AddBotSpec(name, platform, parent_builder, perf_id, target_bits, 11 def _AddBotSpec(name, platform, parent_builder, perf_id, target_bits,
12 parent_master=None): 12 parent_master=None):
13 SPEC['builders'][name] = { 13 SPEC['builders'][name] = {
14 'disable_tests': True, 14 'disable_tests': True,
15 'bot_type': 'tester', 15 'bot_type': 'tester',
16 'chromium_config_kwargs': { 16 'chromium_config_kwargs': {
17 'BUILD_CONFIG': 'Release', 17 'BUILD_CONFIG': 'Release',
18 'TARGET_BITS': target_bits, 18 'TARGET_BITS': target_bits,
19 }, 19 },
20 'parent_buildername': parent_builder, 20 'parent_buildername': parent_builder,
21 'chromium_config': 'chromium_official', 21 'chromium_config': 'chromium_perf',
22 'chromium_apply_config': ['chromium_perf_fyi'], 22 'gclient_config': 'chromium_perf',
23 'gclient_config': 'perf',
24 'testing': { 23 'testing': {
25 'platform': platform, 24 'platform': platform,
26 }, 25 },
27 'perf-id': perf_id, 26 'perf-id': perf_id,
28 'results-url': RESULTS_URL, 27 'results-url': RESULTS_URL,
29 'tests': [ 28 'tests': [
30 steps.DynamicPerfTests(perf_id, platform, target_bits, 29 steps.DynamicPerfTests(perf_id, platform, target_bits,
31 shard_index=0, num_host_shards=1), 30 shard_index=0, num_host_shards=1),
32 ], 31 ],
33 } 32 }
34 if parent_master: 33 if parent_master:
35 SPEC['builders'][name]['parent_mastername'] = parent_master 34 SPEC['builders'][name]['parent_mastername'] = parent_master
36 35
37 36
38 SPEC = { 37 SPEC = {
39 'settings': { 38 'settings': {
40 'build_gs_bucket': 'chrome-perf', 39 'build_gs_bucket': 'chrome-perf',
41 }, 40 },
42 'builders': { 41 'builders': {
43 'Win x64 FYI Builder': { 42 'Win x64 FYI Builder': {
44 'disable_tests': True, 43 'disable_tests': True,
45 'chromium_config': 'chromium_official', 44 'chromium_config': 'chromium_perf',
46 'gclient_config': 'chromium', 45 'gclient_config': 'chromium_perf',
47 'gclient_apply_config': ['chrome_internal'],
48 'chromium_config_kwargs': { 46 'chromium_config_kwargs': {
49 'BUILD_CONFIG': 'Release', 47 'BUILD_CONFIG': 'Release',
50 'TARGET_BITS': 64, 48 'TARGET_BITS': 64,
51 }, 49 },
52 'bot_type': 'builder', 50 'bot_type': 'builder',
53 'compile_targets': [ 51 'compile_targets': [
54 'chromium_builder_perf', 52 'chromium_builder_perf',
55 ], 53 ],
56 'testing': { 54 'testing': {
57 'platform': 'win', 55 'platform': 'win',
58 }, 56 },
59 'chromium_apply_config': ['chromium_perf_fyi']
60 }, 57 },
61 'Win Clang Builder': { 58 'Win Clang Builder': {
62 'disable_tests': True, 59 'disable_tests': True,
63 'chromium_config': 'chromium_win_clang_official', 60 'chromium_config': 'chromium_win_clang_official',
64 'gclient_config': 'chromium', 61 'gclient_config': 'chromium_perf',
65 'gclient_apply_config': ['chrome_internal'],
66 'chromium_config_kwargs': { 62 'chromium_config_kwargs': {
67 'BUILD_CONFIG': 'Release', 63 'BUILD_CONFIG': 'Release',
68 'TARGET_BITS': 32, 64 'TARGET_BITS': 32,
69 }, 65 },
70 'bot_type': 'builder', 66 'bot_type': 'builder',
71 'compile_targets': [ 67 'compile_targets': [
72 'chromium_builder_perf', 68 'chromium_builder_perf',
73 ], 69 ],
74 'testing': { 70 'testing': {
75 'platform': 'win', 71 'platform': 'win',
76 }, 72 },
77 'tests': { 73 'tests': {
78 steps.SizesStep(RESULTS_URL, 'win-clang-builder') 74 steps.SizesStep(RESULTS_URL, 'win-clang-builder')
79 }, 75 },
80 'chromium_apply_config': ['chromium_perf_fyi'],
81 }, 76 },
82 }, 77 },
83 } 78 }
84 79
85 _AddBotSpec( 80 _AddBotSpec(
86 name='Win 7 Intel GPU Perf (Xeon)', 81 name='Win 7 Intel GPU Perf (Xeon)',
87 platform='win', 82 platform='win',
88 parent_builder='Win x64 Builder', 83 parent_builder='Win x64 Builder',
89 perf_id='chromium-rel-win7-gpu-intel', 84 perf_id='chromium-rel-win7-gpu-intel',
90 target_bits=64, 85 target_bits=64,
(...skipping 22 matching lines...) Expand all
113 perf_id='chromium-win-clang', 108 perf_id='chromium-win-clang',
114 target_bits=32) 109 target_bits=32)
115 110
116 _AddBotSpec( 111 _AddBotSpec(
117 name='Mac Retina Power Perf', 112 name='Mac Retina Power Perf',
118 platform='mac', 113 platform='mac',
119 parent_builder='Mac Builder', 114 parent_builder='Mac Builder',
120 perf_id='mac-retina-fyi', 115 perf_id='mac-retina-fyi',
121 target_bits=64, 116 target_bits=64,
122 parent_master='chromium.perf') 117 parent_master='chromium.perf')
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698