Home / Function/ BenchmarkUnmarshalredirectionMsgs() — fiber Function Reference

BenchmarkUnmarshalredirectionMsgs() — fiber Function Reference

Architecture documentation for the BenchmarkUnmarshalredirectionMsgs() function in redirect_msgp_test.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  0ae033cf_ca0a_8f48_3ffd_32a53230fa7e["BenchmarkUnmarshalredirectionMsgs()"]
  677ddde0_a2ad_46ea_88ea_878d89b3a3b2["redirect_msgp_test.go"]
  0ae033cf_ca0a_8f48_3ffd_32a53230fa7e -->|defined in| 677ddde0_a2ad_46ea_88ea_878d89b3a3b2
  style 0ae033cf_ca0a_8f48_3ffd_32a53230fa7e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

redirect_msgp_test.go lines 169–181

func BenchmarkUnmarshalredirectionMsgs(b *testing.B) {
	v := redirectionMsgs{}
	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

Frequently Asked Questions

What does BenchmarkUnmarshalredirectionMsgs() do?
BenchmarkUnmarshalredirectionMsgs() is a function in the fiber codebase, defined in redirect_msgp_test.go.
Where is BenchmarkUnmarshalredirectionMsgs() defined?
BenchmarkUnmarshalredirectionMsgs() is defined in redirect_msgp_test.go at line 169.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free