Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I am newbie to go, but running the go version took about 186.053167ms, wonder how to explain this behavior http://play.golang.org/p/flK5QV-mDC Go Version : devel +740d244b2047 Thu May 02 18:59:39 2013 -0700


What was MAXPROCS set to? It's a lot faster to run this particular benchmark with only one thread.


1


Yeah, that's what I figured :) Set it to the number of (virtual) cores on your machine.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: