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