(B *testing.B)
| 12 | ) |
| 13 | |
| 14 | func BenchmarkOneRoute(B *testing.B) { |
| 15 | router := New() |
| 16 | router.GET("/ping", func(c *Context) {}) |
| 17 | runRequest(B, router, http.MethodGet, "/ping") |
| 18 | } |
| 19 | |
| 20 | func BenchmarkRecoveryMiddleware(B *testing.B) { |
| 21 | router := New() |
nothing calls this directly
no test coverage detected