Benchmark_Client_Request_Parallel() — fiber Function Reference
Architecture documentation for the Benchmark_Client_Request_Parallel() function in client_test.go from the fiber codebase.
Entity Profile
Dependency Diagram
graph TD 6f44b33e_2a9a_645d_68df_2ce5c2034f97["Benchmark_Client_Request_Parallel()"] 5d11d0f7_2b3b_7bf3_3b1d_76d79d6872a2["client_test.go"] 6f44b33e_2a9a_645d_68df_2ce5c2034f97 -->|defined in| 5d11d0f7_2b3b_7bf3_3b1d_76d79d6872a2 style 6f44b33e_2a9a_645d_68df_2ce5c2034f97 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
client/client_test.go lines 2279–2301
func Benchmark_Client_Request_Parallel(b *testing.B) {
app, dial, start := createHelperServer(b)
app.Get("/", func(c fiber.Ctx) error {
return c.SendString("hello world")
})
go start()
client := New().SetDial(dial)
b.ResetTimer()
b.ReportAllocs()
b.RunParallel(func(pb *testing.PB) {
var err error
var resp *Response
for pb.Next() {
resp, err = client.Get("http://example.com")
resp.Close()
}
require.NoError(b, err)
})
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does Benchmark_Client_Request_Parallel() do?
Benchmark_Client_Request_Parallel() is a function in the fiber codebase, defined in client/client_test.go.
Where is Benchmark_Client_Request_Parallel() defined?
Benchmark_Client_Request_Parallel() is defined in client/client_test.go at line 2279.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free