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
  ab7c220f_d657_21de_150b_f7f9623b5ebf["Benchmark404Many()"]
  027bc53e_0459_39d9_531f_d9717b8611dc["runRequest()"]
  ab7c220f_d657_21de_150b_f7f9623b5ebf -->|calls| 027bc53e_0459_39d9_531f_d9717b8611dc
  style ab7c220f_d657_21de_150b_f7f9623b5ebf 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

Calls

Frequently Asked Questions

What does Benchmark404Many() do?
Benchmark404Many() is a function in the gin codebase.
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