Re:Go as an alternative to Node.js for very fast servers
by payload on Wednesday August 14, 2013 @06:53PM
(#6214931)
There is no significant difference in this benchmark. Do you measure something different?
Re:Go as an alternative to Node.js for very fast servers
by Peaker on Wednesday August 14, 2013 @07:54PM
(#6215282)
I didn't measure, no.
I suppose maybe it uses the optimized compiled packages code, and the main code doesn't really do anything, so -O2 doesn't matter.
However, I would still expect "-threaded" to have an effect.
Use: ghc -threaded -O2 main.hs && ./main