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

Side by Side Diff: scripts/slave/recipes/chromium_trybot.expected/use_v8_patch_on_chromium_trybot.json

Issue 2291273005: Add counting the number of CPU's in goma module (Closed)
Patch Set: use 80 for linux 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 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\kill_processes.py" 6 "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\kill_processes.py"
7 ], 7 ],
8 "name": "taskkill" 8 "name": "taskkill"
9 }, 9 },
10 { 10 {
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 "@@@STEP_LOG_LINE@json.output@ }@@@", 199 "@@@STEP_LOG_LINE@json.output@ }@@@",
200 "@@@STEP_LOG_LINE@json.output@ ]@@@", 200 "@@@STEP_LOG_LINE@json.output@ ]@@@",
201 "@@@STEP_LOG_LINE@json.output@}@@@", 201 "@@@STEP_LOG_LINE@json.output@}@@@",
202 "@@@STEP_LOG_END@json.output@@@" 202 "@@@STEP_LOG_END@json.output@@@"
203 ] 203 ]
204 }, 204 },
205 { 205 {
206 "cmd": [ 206 "cmd": [
207 "python", 207 "python",
208 "-u", 208 "-u",
209 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
210 ],
211 "name": "ensure_goma.get the number of cpus",
212 "stdout": "/path/to/tmp/",
213 "~followup_annotations": [
214 "@@@STEP_NEST_LEVEL@1@@@",
215 "@@@STEP_LOG_LINE@python.inline@@@@",
216 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
217 "@@@STEP_LOG_LINE@python.inline@@@@",
218 "@@@STEP_LOG_LINE@python.inline@try:@@@",
219 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
220 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
221 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
222 "@@@STEP_LOG_LINE@python.inline@@@@",
223 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
224 "@@@STEP_LOG_END@python.inline@@@"
225 ]
226 },
227 {
228 "cmd": [
229 "python",
230 "-u",
209 "[BUILDER_CACHE]\\win\\src\\tools\\swarming_client\\swarming.py", 231 "[BUILDER_CACHE]\\win\\src\\tools\\swarming_client\\swarming.py",
210 "--version" 232 "--version"
211 ], 233 ],
212 "name": "swarming.py --version", 234 "name": "swarming.py --version",
213 "stdout": "/path/to/tmp/", 235 "stdout": "/path/to/tmp/",
214 "~followup_annotations": [ 236 "~followup_annotations": [
215 "@@@STEP_TEXT@0.8.6@@@" 237 "@@@STEP_TEXT@0.8.6@@@"
216 ] 238 ]
217 }, 239 },
218 { 240 {
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json" 620 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json"
599 }, 621 },
600 "name": "process_dumps" 622 "name": "process_dumps"
601 }, 623 },
602 { 624 {
603 "name": "$result", 625 "name": "$result",
604 "recipe_result": null, 626 "recipe_result": null,
605 "status_code": 0 627 "status_code": 0
606 } 628 }
607 ] 629 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698