Golang Collection Loop Benchmark Benchmark for different types of Golang slice loops. The benchmark uses Go 1.22. Run: go test -bench=. -count 5 -benchtime=10s -cpu 1 -benchmem