Benchmark_HeaderContainsValue() — fiber Function Reference
Architecture documentation for the Benchmark_HeaderContainsValue() function in helpers_test.go from the fiber codebase.
Entity Profile
Dependency Diagram
graph TD ef3604a4_0e2c_b887_da85_67b67cdc9f9a["Benchmark_HeaderContainsValue()"] c82e3595_b1b8_f596_c097_f26fa40159d1["helpers_test.go"] ef3604a4_0e2c_b887_da85_67b67cdc9f9a -->|defined in| c82e3595_b1b8_f596_c097_f26fa40159d1 style ef3604a4_0e2c_b887_da85_67b67cdc9f9a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
helpers_test.go lines 860–870
func Benchmark_HeaderContainsValue(b *testing.B) {
var ok bool
b.ReportAllocs()
for b.Loop() {
_ = headerContainsValue("gzip", "gzip")
_ = headerContainsValue("gzip, deflate, br", "deflate")
_ = headerContainsValue("deflate, gzip", "gzip")
ok = headerContainsValue("deflate, gzip, br", "gzip")
}
require.True(b, ok)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does Benchmark_HeaderContainsValue() do?
Benchmark_HeaderContainsValue() is a function in the fiber codebase, defined in helpers_test.go.
Where is Benchmark_HeaderContainsValue() defined?
Benchmark_HeaderContainsValue() is defined in helpers_test.go at line 860.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free