4 ms·
FWIW, I benchmarked a basic Revel web app. Go 1.0.3 = 2850 req/sec ... 1.1 = 10928 req/sec.
by knotty66 14y ago
FWIW, I benchmarked a basic Revel web app. Go 1.0.3 = 2850 req/sec ... 1.1 = 10928 req/sec.
- conroy 14y agoAny chance you can post the code you used to benchmark? That's an insane difference.
- knotty66 14y agoIt was a basic newly generated Revel app running in production mode. Not hitting a DB. Benchmarked with 'ab -n 10000 -c 30 http://localhost:9000/some_action http://localhost:9000/some_action. See also: https://github.com/davecheney/autobench https://github.com/davecheney/autobench BenchmarkHTTPClientServer 373216, 52646 -85.89%
- errnoh 14y agobench old_ns/op new_ns/op delta "BenchmarkHTTPClientServer 373216, 52646 -85.89%" That bench is 7 times faster in Go 1.1 than 1.0.3.
- knotty66 14y agoUh? They are two separate benchmarks, that's why I said 'See also'.
- errnoh 14y agoSigh. Sorry about the mess. I opened the thread first thing after waking up this morning, commented before having cup of coffee and resulted in misreading the whole point of that comment. I'll try to drink more coffee from now on. Sorry knotty66.
- knotty66 14y agoHa ha, no worries. I'm sure my lazy English contributed with the 'see also', too.