BenchmarkParallelGithubDefault() — gin Function Reference
Architecture documentation for the BenchmarkParallelGithubDefault() function in githubapi_test.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD 77957839_d111_d224_7400_6cdfb27ff1a1["BenchmarkParallelGithubDefault()"] c6834f9f_4d6e_fbf6_43eb_45c49df8552c["githubConfigRouter()"] 77957839_d111_d224_7400_6cdfb27ff1a1 -->|calls| c6834f9f_4d6e_fbf6_43eb_45c49df8552c style 77957839_d111_d224_7400_6cdfb27ff1a1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
githubapi_test.go lines 462–476
func BenchmarkParallelGithubDefault(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 BenchmarkParallelGithubDefault() do?
BenchmarkParallelGithubDefault() is a function in the gin codebase.
What does BenchmarkParallelGithubDefault() call?
BenchmarkParallelGithubDefault() 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