(B *testing.B)
| 100 | } |
| 101 | |
| 102 | func Benchmark404(B *testing.B) { |
| 103 | router := New() |
| 104 | router.Any("/something", func(c *Context) {}) |
| 105 | router.NoRoute(func(c *Context) {}) |
| 106 | runRequest(B, router, http.MethodGet, "/ping") |
| 107 | } |
| 108 | |
| 109 | func Benchmark404Many(B *testing.B) { |
| 110 | router := New() |
nothing calls this directly
no test coverage detected