Home / Function/ Benchmark404Many() — gin Function Reference

Benchmark404Many() — gin Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  597d96fc_3da6_b2a4_7b42_3152c82a24df["Benchmark404Many()"]
  a906a1e4_6c37_acec_ab79_73a64d55196f["benchmarks_test.go"]
  597d96fc_3da6_b2a4_7b42_3152c82a24df -->|defined in| a906a1e4_6c37_acec_ab79_73a64d55196f
  d2d31a56_7237_1279_39e2_5c8bfe9ecfde["runRequest()"]
  597d96fc_3da6_b2a4_7b42_3152c82a24df -->|calls| d2d31a56_7237_1279_39e2_5c8bfe9ecfde
  style 597d96fc_3da6_b2a4_7b42_3152c82a24df fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

benchmarks_test.go lines 109–122

func Benchmark404Many(B *testing.B) {
	router := New()
	router.GET("/", func(c *Context) {})
	router.GET("/path/to/something", func(c *Context) {})
	router.GET("/post/:id", func(c *Context) {})
	router.GET("/view/:id", func(c *Context) {})
	router.GET("/favicon.ico", func(c *Context) {})
	router.GET("/robots.txt", func(c *Context) {})
	router.GET("/delete/:id", func(c *Context) {})
	router.GET("/user/:id/:mode", func(c *Context) {})

	router.NoRoute(func(c *Context) {})
	runRequest(B, router, http.MethodGet, "/viewfake")
}

Domain

Subdomains

Defined In

Calls

Frequently Asked Questions

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