Re:Golang web frameworks benchmark
by beckler on Thursday February 05, 2015 @02:37PM
(#9005396)
Not totally sure, but I think Gin is faster because it uses HttpRouter under the covers.
[ Parent
| on HN ]
Re:Golang web frameworks benchmark
by dougbarrett on Thursday February 05, 2015 @04:26PM
(#9006234)
And httprouter is a bit limited as far as what you can do with the url rules, understadibly. I've documented it here:
https://www.dougcodes.com/go-lang/gin-gonic-may-be-40x-faste...
and here:
https://www.dougcodes.com/go-lang/martini-to-gin-back-to-mar...
Negroni/Gorilla Mux seems to be a good combination for me, but Jeremy Saenz is coming out with a new mux that I'm interested in trying when it's released to see how it compares to Gorilla Mux.
Indeed it does. http://gin-gonic.github.io/gin/