Benchmark_Memory_Get_Parallel() — fiber Function Reference
Architecture documentation for the Benchmark_Memory_Get_Parallel() function in memory_test.go from the fiber codebase.
Entity Profile
Dependency Diagram
graph TD 474b9cb0_fe7a_3821_06f8_84747e2d1aa0["Benchmark_Memory_Get_Parallel()"] 5fc515d5_e762_b957_5588_68b2d14010d3["memory_test.go"] 474b9cb0_fe7a_3821_06f8_84747e2d1aa0 -->|defined in| 5fc515d5_e762_b957_5588_68b2d14010d3 style 474b9cb0_fe7a_3821_06f8_84747e2d1aa0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
internal/storage/memory/memory_test.go lines 366–379
func Benchmark_Memory_Get_Parallel(b *testing.B) {
testStore := New()
err := testStore.Set("john", []byte("doe"), 0)
require.NoError(b, err)
b.ReportAllocs()
b.ResetTimer()
b.RunParallel(func(pb *testing.PB) {
for pb.Next() {
_, _ = testStore.Get("john") //nolint:errcheck // error not needed for benchmark
}
})
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does Benchmark_Memory_Get_Parallel() do?
Benchmark_Memory_Get_Parallel() is a function in the fiber codebase, defined in internal/storage/memory/memory_test.go.
Where is Benchmark_Memory_Get_Parallel() defined?
Benchmark_Memory_Get_Parallel() is defined in internal/storage/memory/memory_test.go at line 366.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free