News for hackers. Stuff that matters.
Re:Golang web frameworks benchmark by falcolas on Thursday February 05, 2015 @03:56PM (#9006024)
Silly question, but where's the "plain net/http" benchmark? I haven't found a case where I've missed having an http framework.

Would be interesting to see what the baseline is.

Re:Golang web frameworks benchmark by maximveksler on Friday February 06, 2015 @08:31AM (#9008840)
Basically there aren’t much reasons besides security considerations to use net/http multiplexer at all.

The baseline was profiled under STATICALL as the default net/http multiplexer does not support dynamic paths http://golang.org/pkg/net/http/#ServeMux. The benchmark is named BenchmarkHttpServeMux_StaticAll you can read the code at https://github.com/julienschmidt/go-http-routing-benchmark/b.... Frankly, net/http it not a very good http router. The results show that julienschmidt/httprouter trie based implementing outperforms net/http by 60x.