MCPcopy Create free account
hub / github.com/Soypete/Production-Go-Examples / Benchmark10Workers

Function Benchmark10Workers

exercise-3/solution/worker_test.go:10–10  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

8func Benchmark2Workers(b *testing.B) { benchmarkWorkers(2, b) }
9func Benchmark5Workers(b *testing.B) { benchmarkWorkers(5, b) }
10func Benchmark10Workers(b *testing.B) { benchmarkWorkers(10, b) }
11func Benchmark20Workers(b *testing.B) { benchmarkWorkers(20, b) }
12
13func benchmarkWorkers(i int, b *testing.B) {

Callers

nothing calls this directly

Calls 1

benchmarkWorkersFunction · 0.70

Tested by

no test coverage detected