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

Function Benchmark20Workers

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

Source from the content-addressed store, hash-verified

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) {
14 for n := 0; n < b.N; n++ {

Callers

nothing calls this directly

Calls 1

benchmarkWorkersFunction · 0.70

Tested by

no test coverage detected