BenchmarkUnmarshalresponse() — fiber Function Reference
Architecture documentation for the BenchmarkUnmarshalresponse() function in response_msgp_test.go from the fiber codebase.
Entity Profile
Dependency Diagram
graph TD 9e7a0711_38c2_b59d_d98c_1e6a76857985["BenchmarkUnmarshalresponse()"] 06ea0821_d2f9_cbc7_86ed_2f6f5fd5fb27["response_msgp_test.go"] 9e7a0711_38c2_b59d_d98c_1e6a76857985 -->|defined in| 06ea0821_d2f9_cbc7_86ed_2f6f5fd5fb27 style 9e7a0711_38c2_b59d_d98c_1e6a76857985 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
middleware/idempotency/response_msgp_test.go lines 56–68
func BenchmarkUnmarshalresponse(b *testing.B) {
v := response{}
bts, _ := v.MarshalMsg(nil)
b.ReportAllocs()
b.SetBytes(int64(len(bts)))
b.ResetTimer()
for i := 0; i < b.N; i++ {
_, err := v.UnmarshalMsg(bts)
if err != nil {
b.Fatal(err)
}
}
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does BenchmarkUnmarshalresponse() do?
BenchmarkUnmarshalresponse() is a function in the fiber codebase, defined in middleware/idempotency/response_msgp_test.go.
Where is BenchmarkUnmarshalresponse() defined?
BenchmarkUnmarshalresponse() is defined in middleware/idempotency/response_msgp_test.go at line 56.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free