(b *testing.B, app *App, fctx *fasthttp.RequestCtx)
| 3365 | } |
| 3366 | |
| 3367 | func acquireDefaultCtxForAppBenchmark(b *testing.B, app *App, fctx *fasthttp.RequestCtx) *DefaultCtx { |
| 3368 | b.Helper() |
| 3369 | |
| 3370 | ctx := app.AcquireCtx(fctx) |
| 3371 | defaultCtx, ok := ctx.(*DefaultCtx) |
| 3372 | if !ok { |
| 3373 | b.Fatal("AcquireCtx did not return *DefaultCtx") |
| 3374 | } |
| 3375 | return defaultCtx |
| 3376 | } |
| 3377 | |
| 3378 | func Benchmark_Ctx_AcquireReleaseFlow_Parallel(b *testing.B) { |
| 3379 | app := New() |
no test coverage detected