(b *testing.B)
| 35 | } |
| 36 | |
| 37 | func BenchmarkServeHTTP_Static(b *testing.B) { |
| 38 | e := New() |
| 39 | e.GET("/users/profile", func(c *Context) error { return c.NoContent(http.StatusOK) }) |
| 40 | req := httptest.NewRequest(http.MethodGet, "/users/profile", nil) |
| 41 | benchServe(b, e, req) |
| 42 | } |
| 43 | |
| 44 | func BenchmarkServeHTTP_Param(b *testing.B) { |
| 45 | e := New() |
nothing calls this directly
no test coverage detected
searching dependent graphs…