News for hackers. Stuff that matters.
Re:Mux – A lightweight, fast HTTP request router for Go by buro9 on Monday December 05, 2016 @01:00PM (#13107556)
They're in the same ballpark, choosing one over the other was preference.

The benchmarks skew slightly in favour of httprouter, but only because pressly/chi embraces use of req.Context and this does a few ops. If you add req.Context use to httprouter they're basically the same.

If you're doing work with Context, you aren't going to be able to measure a difference that you'll care about.

If you're just serving static files, perhaps you'll care.

There are no comments on this comment yet.