ericmoritz / wsdemo

A Cowboy Websocket demo
Other
405 stars 58 forks source link

Go: do not use multiple cores #13

Closed piranha closed 12 years ago

piranha commented 12 years ago

I believe Go will perform better with a single core, since right now it's just limited by scheduler, switching between different goroutines. As goroutines are not doing anything CPU-bound, this is just slowing down of a program.

powerman commented 12 years ago

I've tested this about a hour ago. On my i7-2600K@4.6GHz with HT (= 8 cpu cores) there was no noticeable difference.

piranha commented 12 years ago

Hm, interesting. Ok then, no point in keeping this issue opened.