Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
runtime: fractional worker preemption causes performance degradation for single cpu #22693
What version of Go are you using (go version)?
What operating system and processor architecture are you using (go env)?
What did you do?
I've compared performance of 1.9 vs trunk on builtin benchmarks with -cpu=1 and found that some of them have regressed. Changes in performance were bisected to 28e1a8e which caused:
cmd/compile/internal/ssa/Fuse/10000 33.2ms Â± 2% 38.1ms Â± 2% +14.62%
This is reproducible only with go test -cpu=1 -bench=......