3 ms·
Or if you can live with slightly fewer features (and an additional param for your handlers): https://github.com/julienschmidt/httprouter https://github.com/juli
by throwaway77384 8y ago
Or if you can live with slightly fewer features (and an additional param for your handlers): https://github.com/julienschmidt/httprouter https://github.com/julienschmidt/httprouter
Appears to be faster, but I guess the difference wouldn't be noticeable until you start doing some pretty heavy stuff.
- sethammons 8y agoIt is also mostly unnoticeable then too. The slower parts of your service will crowd out httorouter most likely. I'm a bigger fan of stdlib compatible routers.