GitPedia

Go 1brc

My Go solutions to the One Billion Row Challenge

From benhoyt·Updated April 27, 2026·View on GitHub·

These are my progressively-faster solutions to the One Billion Row Challenge in Go: from a simple unoptimised version (r1.go) that takes 1 minute 45 seconds, to an optimised and parallelised version (r9.go) that takes 4 seconds. The project is written primarily in Go, distributed under the MIT License license, first published in 2024. Key topics include: 1brc, go.

The One Billion Row Challenge in Go: from 1m45s to 4s

These are my progressively-faster solutions to the One Billion Row Challenge in Go: from a simple unoptimised version (r1.go) that takes 1 minute 45 seconds, to an optimised and parallelised version (r9.go) that takes 4 seconds.

Read the article for a detailed write-up and results.

Contributors

Showing top 3 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from benhoyt/go-1brc via the GitHub API.Last fetched: 6/19/2026