MCPcopy Create free account
hub / github.com/felixge/httpsnoop / BenchmarkCaptureMetricsTwice

Function BenchmarkCaptureMetricsTwice

capture_metrics_bench_test.go:17–19  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

15}
16
17func BenchmarkCaptureMetricsTwice(b *testing.B) {
18 benchmark(b, 2)
19}
20
21func benchmark(b *testing.B, wrappings int) {
22 dummyH := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {})

Callers

nothing calls this directly

Calls 1

benchmarkFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…