MCPcopy Create free account
hub / github.com/basecamp/hey-cli / RequestCount

Method RequestCount

internal/cmd/sdk.go:54–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52func (h *statsHooks) OnRetry(context.Context, hey.RequestInfo, int, error) {}
53
54func (h *statsHooks) RequestCount() int { return int(h.requestCount.Load()) }
55func (h *statsHooks) TotalLatency() time.Duration { return time.Duration(h.totalLatency.Load()) }
56
57var sdkStats *statsHooks

Callers 1

statsOptionFunction · 0.80

Calls 1

LoadMethod · 0.80

Tested by

no test coverage detected