BenchmarkParallelGithub() — gin Function Reference
Architecture documentation for the BenchmarkParallelGithub() function in githubapi_test.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD 3d836e4c_214b_d1cc_35a8_2a94d8a57722["BenchmarkParallelGithub()"] 851931d7_59a3_9c02_f8d4_6771ae5af6e6["githubapi_test.go"] 3d836e4c_214b_d1cc_35a8_2a94d8a57722 -->|defined in| 851931d7_59a3_9c02_f8d4_6771ae5af6e6 43338ce5_d06e_fbce_2d37_1f1a2f6d4d98["githubConfigRouter()"] 3d836e4c_214b_d1cc_35a8_2a94d8a57722 -->|calls| 43338ce5_d06e_fbce_2d37_1f1a2f6d4d98 style 3d836e4c_214b_d1cc_35a8_2a94d8a57722 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
githubapi_test.go lines 446–460
func BenchmarkParallelGithub(b *testing.B) {
DefaultWriter = os.Stdout
router := New()
githubConfigRouter(router)
req, _ := http.NewRequest(http.MethodPost, "/repos/manucorporat/sse/git/blobs", nil)
b.RunParallel(func(pb *testing.PB) {
// Each goroutine has its own bytes.Buffer.
for pb.Next() {
w := httptest.NewRecorder()
router.ServeHTTP(w, req)
}
})
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does BenchmarkParallelGithub() do?
BenchmarkParallelGithub() is a function in the gin codebase, defined in githubapi_test.go.
Where is BenchmarkParallelGithub() defined?
BenchmarkParallelGithub() is defined in githubapi_test.go at line 446.
What does BenchmarkParallelGithub() call?
BenchmarkParallelGithub() calls 1 function(s): githubConfigRouter.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free