News for hackers. Stuff that matters.
Re:Gadget: A smallish web framework for Go by continuations on Tuesday November 26, 2013 @09:04PM (#6805742)
Your benchmark results look very different from that of the web framework benchmark:

http://www.techempower.com/benchmarks/#section=data-r7&hw=i7...

In that benchmark Go's JSON performance is almost 3x higher than that of Node.

Any reasons why there's such a big difference?

Re:Gadget: A smallish web framework for Go by optymizer on Wednesday November 27, 2013 @08:14AM (#6807841)
I think it's because they're measuring the rate at which Node.js and Go receive requests, process json, and reply as a single metric.

I measured the speed with which Go and Node.js decode/encode JSON, i.e. there is no network and web server involved, just json.Marshal()/json.Unmarshal() vs JSON.parse()/JSON.stringify()

I benchmarked the web server speed separately.