Home / Function/ BenchmarkPathCleanLong() — gin Function Reference

BenchmarkPathCleanLong() — gin Function Reference

Architecture documentation for the BenchmarkPathCleanLong() function in path_test.go from the gin codebase.

Entity Profile

Dependency Diagram

graph TD
  54f4ea68_b378_0d7e_d93c_bb6959f2952c["BenchmarkPathCleanLong()"]
  0b350bc8_07be_9ad6_05c9_fcdccabcaeb5["genLongPaths()"]
  54f4ea68_b378_0d7e_d93c_bb6959f2952c -->|calls| 0b350bc8_07be_9ad6_05c9_fcdccabcaeb5
  style 54f4ea68_b378_0d7e_d93c_bb6959f2952c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

path_test.go lines 135–145

func BenchmarkPathCleanLong(b *testing.B) {
	cleanTests := genLongPaths()

	b.ReportAllocs()

	for b.Loop() {
		for _, test := range cleanTests {
			cleanPath(test.path)
		}
	}
}

Domain

Subdomains

Frequently Asked Questions

What does BenchmarkPathCleanLong() do?
BenchmarkPathCleanLong() is a function in the gin codebase.
What does BenchmarkPathCleanLong() call?
BenchmarkPathCleanLong() calls 1 function(s): genLongPaths.

Analyze Your Own Codebase

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

Try Supermodel Free