Why is this apparently simple Go benchmark so slow?gist.github.com 1 pointditados13 years ago1 commentSaveHideCopy link On HNComments−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?