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
  4eebe347_d207_76c8_97f7_def0a3d25cec["BenchmarkPathCleanLong()"]
  b533967c_d510_b36e_3d17_b3b896fbdfe2["path_test.go"]
  4eebe347_d207_76c8_97f7_def0a3d25cec -->|defined in| b533967c_d510_b36e_3d17_b3b896fbdfe2
  242de60c_3b16_6b2d_d7cb_ac48ea57113c["genLongPaths()"]
  4eebe347_d207_76c8_97f7_def0a3d25cec -->|calls| 242de60c_3b16_6b2d_d7cb_ac48ea57113c
  style 4eebe347_d207_76c8_97f7_def0a3d25cec 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

Defined In

Frequently Asked Questions

What does BenchmarkPathCleanLong() do?
BenchmarkPathCleanLong() is a function in the gin codebase, defined in path_test.go.
Where is BenchmarkPathCleanLong() defined?
BenchmarkPathCleanLong() is defined in path_test.go at line 135.
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