BenchmarkParallelGithub() — gin Function Reference
Architecture documentation for the BenchmarkParallelGithub() function in githubapi_test.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD 782a12e0_b37a_c68c_f662_6adb0ac2bf3b["BenchmarkParallelGithub()"] c6834f9f_4d6e_fbf6_43eb_45c49df8552c["githubConfigRouter()"] 782a12e0_b37a_c68c_f662_6adb0ac2bf3b -->|calls| c6834f9f_4d6e_fbf6_43eb_45c49df8552c style 782a12e0_b37a_c68c_f662_6adb0ac2bf3b 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
Calls
Source
Frequently Asked Questions
What does BenchmarkParallelGithub() do?
BenchmarkParallelGithub() is a function in the gin codebase.
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