Comment on Why is this apparently simple Go benchmark so slow?Comments−kibibu13yFrom the Go docs: "GOMAXPROCS sets the maximum number of CPUs that can be executing simultaneously and returns the previous setting"You are setting this to 8 on a dual-core system. What happens when you set it to 2?
Comments
From the Go docs: "GOMAXPROCS sets the maximum number of CPUs that can be executing simultaneously and returns the previous setting"
You are setting this to 8 on a dual-core system. What happens when you set it to 2?