• Josh Bleecher Snyder's avatar
    cmd/dist: spin up fewer test dir runners · a93e9f0f
    Josh Bleecher Snyder authored
    5 shards, each of which spins up NumCPU processes,
    each of which is running at GOMAXPROCS=NumCPU,
    is too much for one machine. It makes my laptop unusable.
    
    It might also be in part responsible for test flakes
    that require a moderately responsive system,
    like #18589 (backedge scheduling) and #19276 (locklinear).
    
    It's possible that Go should be a better neighbor in general;
    that's #17969. In the meantime, fix this corner of the world.
    
    Builders snapshot the world and run shards on different
    machines, so keeping sharding high for them is good.
    
    This is a partial reversion of CL 18199.
    
    Fixes #20141.
    
    Change-Id: I123cf9436f4f4da3550372896265c38117b78071
    Reviewed-on: https://go-review.googlesource.com/42431Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    a93e9f0f
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...