Skip to content

Instantly share code, notes, and snippets.

@btrvodka
btrvodka / benchmark-result
Created November 8, 2022 08:53
WaitGroup vs Channels Benchmark
➜ go test -bench=. -benchmem
BenchmarkWaitGroup-4 1432809 831 ns/op 16 B/op 1 allocs/op
BenchmarkChannels-4 1485576 787 ns/op 96 B/op 1 allocs/op