Home / Function/ BenchmarkManyRoutesFirst() — gin Function Reference

BenchmarkManyRoutesFirst() — gin Function Reference

Architecture documentation for the BenchmarkManyRoutesFirst() function in benchmarks_test.go from the gin codebase.

Entity Profile

Dependency Diagram

graph TD
  ec7f71ad_659d_71df_fd78_49c54ec74934["BenchmarkManyRoutesFirst()"]
  027bc53e_0459_39d9_531f_d9717b8611dc["runRequest()"]
  ec7f71ad_659d_71df_fd78_49c54ec74934 -->|calls| 027bc53e_0459_39d9_531f_d9717b8611dc
  style ec7f71ad_659d_71df_fd78_49c54ec74934 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

benchmarks_test.go lines 90–94

func BenchmarkManyRoutesFirst(B *testing.B) {
	router := New()
	router.Any("/ping", func(c *Context) {})
	runRequest(B, router, http.MethodGet, "/ping")
}

Domain

Subdomains

Calls

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free