DescriptionSet GOMAXPROCS=runtime.NumCPU().
I had forgot the default was still 1. Andrew stated the default should switch in
Go 1.5 and it's documented at https://golang.org/s/go15gomaxprocs but we are
currently using 1.4.x.
On a 4 cores MBP using the fake isolate server, duration of a drive run
100Mib/850 files went from ~17s to ~11s. On a 32 cores linux workstation,
duration went from ~16s to 10.5s.
R=vadimsh@chromium.org
BUG=
Committed: https://github.com/luci/luci-go/commit/b08de01629cbfd8318d7ca746c5795addd813264
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|