Home / Function/ Benchmark_Utils_ParamsMatch() — fiber Function Reference

Benchmark_Utils_ParamsMatch() — fiber Function Reference

Architecture documentation for the Benchmark_Utils_ParamsMatch() function in helpers_test.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  ea04d760_9d77_9cee_bd2d_bdc14bb232ca["Benchmark_Utils_ParamsMatch()"]
  c82e3595_b1b8_f596_c097_f26fa40159d1["helpers_test.go"]
  ea04d760_9d77_9cee_bd2d_bdc14bb232ca -->|defined in| c82e3595_b1b8_f596_c097_f26fa40159d1
  style ea04d760_9d77_9cee_bd2d_bdc14bb232ca fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

helpers_test.go lines 373–385

func Benchmark_Utils_ParamsMatch(b *testing.B) {
	var match bool

	specParams := headerParams{
		"appLe": []byte("orange"),
		"param": []byte("foo"),
	}
	b.ReportAllocs()
	for b.Loop() {
		match = paramsMatch(specParams, `;param=foo; apple=orange`)
	}
	require.True(b, match)
}

Domain

Subdomains

Defined In

Frequently Asked Questions

What does Benchmark_Utils_ParamsMatch() do?
Benchmark_Utils_ParamsMatch() is a function in the fiber codebase, defined in helpers_test.go.
Where is Benchmark_Utils_ParamsMatch() defined?
Benchmark_Utils_ParamsMatch() is defined in helpers_test.go at line 373.

Analyze Your Own Codebase

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

Try Supermodel Free