Benchmark_Router_Next_Default_Parallel_Immutable() — fiber Function Reference
Architecture documentation for the Benchmark_Router_Next_Default_Parallel_Immutable() function in router_test.go from the fiber codebase.
Entity Profile
Dependency Diagram
graph TD f29f21c2_2ac4_3267_7acb_47b222a1346f["Benchmark_Router_Next_Default_Parallel_Immutable()"] 326d7e00_9e4f_d854_0c78_b9c0c93e5537["router_test.go"] f29f21c2_2ac4_3267_7acb_47b222a1346f -->|defined in| 326d7e00_9e4f_d854_0c78_b9c0c93e5537 style f29f21c2_2ac4_3267_7acb_47b222a1346f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
router_test.go lines 1724–1744
func Benchmark_Router_Next_Default_Parallel_Immutable(b *testing.B) {
app := New(Config{Immutable: true})
app.Get("/", func(_ Ctx) error {
return nil
})
h := app.Handler()
b.ReportAllocs()
b.ResetTimer()
b.RunParallel(func(pb *testing.PB) {
fctx := &fasthttp.RequestCtx{}
fctx.Request.Header.SetMethod(MethodGet)
fctx.Request.SetRequestURI("/")
for pb.Next() {
h(fctx)
}
})
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does Benchmark_Router_Next_Default_Parallel_Immutable() do?
Benchmark_Router_Next_Default_Parallel_Immutable() is a function in the fiber codebase, defined in router_test.go.
Where is Benchmark_Router_Next_Default_Parallel_Immutable() defined?
Benchmark_Router_Next_Default_Parallel_Immutable() is defined in router_test.go at line 1724.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free