go install golang.org/x/perf/cmd/benchstat@latest
go test -bench=. -count=10 > next.txt
benchstat current.txt next.txt
- go tool pprof -http=":" cpu.prof
- Add version in table to upgrade
- How to read & write concurrently ?
- How to insert ?
- Avoid type casting and use unsafe
result = []
for (a,c) in table:
result += (a,c)
return result
Dataset | Operation | Result |
100M integers | Scan | 5.532 s ± 0.033 s |