Home / Function/ Benchmark_Memory_Set_Asserted() — fiber Function Reference

Benchmark_Memory_Set_Asserted() — fiber Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

internal/storage/memory/memory_test.go lines 330–338

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

	for b.Loop() {
		err := testStore.Set("john", []byte("doe"), 0)
		require.NoError(b, err)
	}
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free