BENCHMARKS /////////////////
(app *App)
| 1473 | ////////////////////////////////////////////// |
| 1474 | |
| 1475 | func registerDummyRoutes(app *App) { |
| 1476 | h := func(_ Ctx) error { |
| 1477 | return nil |
| 1478 | } |
| 1479 | for _, r := range routesFixture.GitHubAPI { |
| 1480 | app.Add([]string{r.Method}, r.Path, h) |
| 1481 | } |
| 1482 | } |
| 1483 | |
| 1484 | func acquireDefaultCtxForRouterBenchmark(b *testing.B, app *App, fctx *fasthttp.RequestCtx) *DefaultCtx { |
| 1485 | b.Helper() |
no test coverage detected