Benchmark_Bind_Cookie_Map() — fiber Function Reference
Architecture documentation for the Benchmark_Bind_Cookie_Map() function in bind_test.go from the fiber codebase.
Entity Profile
Dependency Diagram
graph TD c50cc289_3380_1ca2_4689_5f50bced95e6["Benchmark_Bind_Cookie_Map()"] 55065b01_f5dc_4e53_5a74_5ecc7aca8f52["bind_test.go"] c50cc289_3380_1ca2_4689_5f50bced95e6 -->|defined in| 55065b01_f5dc_4e53_5a74_5ecc7aca8f52 style c50cc289_3380_1ca2_4689_5f50bced95e6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
bind_test.go lines 1779–1799
func Benchmark_Bind_Cookie_Map(b *testing.B) {
var err error
app := New()
c := app.AcquireCtx(&fasthttp.RequestCtx{})
c.Request().SetBody([]byte(``))
c.Request().Header.SetContentType("")
c.Request().Header.SetCookie("id", "1")
c.Request().Header.SetCookie("Name", "John Doe")
c.Request().Header.SetCookie("Hobby", "golang,fiber")
q := make(map[string][]string)
b.ReportAllocs()
for b.Loop() {
err = c.Bind().Cookie(&q)
}
require.NoError(b, err)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does Benchmark_Bind_Cookie_Map() do?
Benchmark_Bind_Cookie_Map() is a function in the fiber codebase, defined in bind_test.go.
Where is Benchmark_Bind_Cookie_Map() defined?
Benchmark_Bind_Cookie_Map() is defined in bind_test.go at line 1779.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free