Home / Function/ Benchmark_Memory_Set() — fiber Function Reference

Benchmark_Memory_Set() — fiber Function Reference

Architecture documentation for the Benchmark_Memory_Set() function in memory_test.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  e48ac615_5e8b_9719_91a9_699f85544a97["Benchmark_Memory_Set()"]
  5fc515d5_e762_b957_5588_68b2d14010d3["memory_test.go"]
  e48ac615_5e8b_9719_91a9_699f85544a97 -->|defined in| 5fc515d5_e762_b957_5588_68b2d14010d3
  style e48ac615_5e8b_9719_91a9_699f85544a97 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

internal/storage/memory/memory_test.go lines 309–316

func Benchmark_Memory_Set(b *testing.B) {
	testStore := New()
	b.ReportAllocs()

	for b.Loop() {
		_ = testStore.Set("john", []byte("doe"), 0) //nolint:errcheck // error not needed for benchmark
	}
}

Subdomains

Frequently Asked Questions

What does Benchmark_Memory_Set() do?
Benchmark_Memory_Set() is a function in the fiber codebase, defined in internal/storage/memory/memory_test.go.
Where is Benchmark_Memory_Set() defined?
Benchmark_Memory_Set() is defined in internal/storage/memory/memory_test.go at line 309.

Analyze Your Own Codebase

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

Try Supermodel Free