Go HTTP Router Benchmark
Dev tools
benchmark suite
SHOW HN2014
How HN took it
4 positive, 7 neutral or asking, 0 mixed, 1 critical, out of 12 comments about the project. Thread score +0.13.
Docs: 2 for, 1 againstDesign: 1 for, 0 againstPerformance: 1 for, 0 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Benchmark source code is published so results can be reproduced
From 1 comment
I am so glad to see the benchmarks' source code here. So often these "performance" blog posts get written in a completely unreproducible way. A core element of the scientific…
tedchs on HN
Goji recommended for most users and has good design
From 2 comments
I'd recommend Goji to most users. The one I wrote has better performance, but also less features.
JulienSchmidt on HNGoji does very well given it includes a request context implementation as well. I've been porting over an existing net/http + gorilla/mux app and like its design.
elithrar on HN
Objections
Results are hard to digest; bar charts or sorting would help
From 2 comments
It's currently very hard to digest any information from this. Some bar-charts would be helpful.
moe on HNOr just sorting the results by performance, rather than alphabetically.
awda on HN
Routing is unlikely to be the bottleneck in web apps
From 2 comments
Would be great to see a benchmark of how much time is actually spent in routing compared to all the other disciplines involved in responding to a HTTP request. For any…
roncohen on HNThe point was that the routing part is highly unlikely to become your bottleneck in any case.
pekk on HN
Gorilla mux is tested with flat routes rather than subroutes
From 1 comment
Thanks for the benchmark, I didn't know half these projects existed. One thing that affects Gorilla mux is that this test is putting all the routes at the top-level instead of…
kinofcain on HN
Requests
Add bar charts or sort results by performance
From 2 comments
It's currently very hard to digest any information from this. Some bar-charts would be helpful.
moe on HNOr just sorting the results by performance, rather than alphabetically.
awda on HN
Add Revel and Negroni to the benchmark
From 2 comments
What about Revel framework?
smalu on HNWhat about Negroni ?
juliendsv-mbm on HN
Questions
Is httprouter plus negroni a reasonable replacement for Goji?
From 1 comment
Slightly off topic: Would httprouter + negroni be a reasonable replacement for Goji?
deepakprakash on HN
Alternatives named
Goji
From 1 comment
I'd recommend Goji to most users. The one I wrote has better performance, but also less features.
JulienSchmidt on HN
Gorilla mux
From 2 comments
Goji does very well given it includes a request context implementation as well. I've been porting over an existing net/http + gorilla/mux app and like its design.
elithrar on HNThanks for the benchmark, I didn't know half these projects existed. One thing that affects Gorilla mux is that this test is putting all the routes at the top-level instead of…
kinofcain on HN
Go standard net/http router
From 1 comment
I use the standard one for quick/low performance, things, but Julien's HttpRouter for high performance needs. I've never needed any of the advanced features that the other…
voidlogic on HN