julienschmidt / go-http-routing-benchmark

Go HTTP request router and web framework benchmark
BSD 3-Clause "New" or "Revised" License
1.65k stars 238 forks source link

Benchmark against native Go http.HandleFunc #76

Closed Commenter123 closed 5 years ago

Commenter123 commented 7 years ago

Hi. Please include the native Go http.HandleFunc in your benchmarks. I know it lacks a lot of features but it would be cool to see how httprouter compares against it. Thank you

julienschmidt commented 5 years ago

If you mean the http.DefaultServeMux / http.ServeMux: It has been there from the start under the name "HttpServeMux". Due to its limited capabilities, it is only included in the static benchmark.