Benchmark_Bind_Query_Comma() — fiber Function Reference
Architecture documentation for the Benchmark_Bind_Query_Comma() function in bind_test.go from the fiber codebase.
Entity Profile
Dependency Diagram
graph TD 6cb51148_692a_a470_2eb2_aa351b3b040f["Benchmark_Bind_Query_Comma()"] 55065b01_f5dc_4e53_5a74_5ecc7aca8f52["bind_test.go"] 6cb51148_692a_a470_2eb2_aa351b3b040f -->|defined in| 55065b01_f5dc_4e53_5a74_5ecc7aca8f52 style 6cb51148_692a_a470_2eb2_aa351b3b040f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
bind_test.go lines 772–794
func Benchmark_Bind_Query_Comma(b *testing.B) {
var err error
app := New(Config{
EnableSplittingOnParsers: true,
})
c := app.AcquireCtx(&fasthttp.RequestCtx{})
type Query struct {
Name string
Hobby []string
ID int
}
c.Request().SetBody([]byte(``))
c.Request().Header.SetContentType("")
c.Request().URI().SetQueryString("id=1&name=tom&hobby=basketball,football")
q := new(Query)
b.ReportAllocs()
for b.Loop() {
err = c.Bind().Query(q)
}
require.NoError(b, err)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does Benchmark_Bind_Query_Comma() do?
Benchmark_Bind_Query_Comma() is a function in the fiber codebase, defined in bind_test.go.
Where is Benchmark_Bind_Query_Comma() defined?
Benchmark_Bind_Query_Comma() is defined in bind_test.go at line 772.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free