The One Billion Row Challenge in Go
last updated: Mar 04, 2024
https://benhoyt.com/writings/go-1brc/
This article describes the nine solutions I wrote in Go, each faster than the previous. The first, a simple and idiomatic solution, runs in 1 minute 45 seconds on my machine, while the last one runs in about 4 seconds. As I go, I’ll show how I used Go’s profiler to see where the time was being spent.
A nice dive into performance engineering for a go program.