cd /news/developer-tools/git-on-blake3-zstd-history-in-4-mib-… · home › topics › developer-tools › article
[ARTICLE · art-179723] src=dev.to ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

git on BLAKE3 + zstd: history in 4 MiB frames is 5x smaller

A developer built git-bolt-b3, a Git storage experiment that replaces zlib with multithreaded BLAKE3 hashing and zstd compression, and reports that packing history into 4 MiB zstd frames shrinks git/git's .git directory from 66.80 MiB to 6.27 MiB — roughly 5x smaller than per-object zstd (55.15 MiB) and 11.74 MiB with framed compression across the same 19,858 objects. The trade-off is losing one-object reads, since objects must be decompressed from a shared frame. The author published the benchmark script and notes the work was AI-assisted and checked by the author.

key takeaway

Framing Git history into 4 MiB zstd frames cut a 19,858-object repository from 55.15 MiB (per-object zstd) to 11.74 MiB, versus 66.80 MiB for stock git, at the cost of one-object reads.

by read1 min views5 publishedDec 1, 2026

// Detect dark theme var iframe = document.getElementById('tweet-2126749307084923253-237'); if (document.body.className.includes('dark-theme')) { iframe.src = "https://platform.twitter.com/embed/Tweet.html?id=2126749307084923253&theme=dark" } The speed in git-bolt-b3 comes from multithreaded BLAKE3: with zlib off, stock git's fsck barely changes. The weak spot is history: per-object zstd makes git/git's .git 66.80 MiB against 6.27 MiB for git. On the same 19,858 objects I got 55.15 MiB per object and 11.74 MiB with 4 MiB zstd frames.

Would you give up one-object reads for a 5x smaller history?

Script: https://github.com/yasha1971-coder/hw-apex-bench/commit/0fbc30a180bfdaa576ad14fba60706823eae8fe1 AI-assisted, checked by the author.

── more in #developer-tools 4 stories · sorted by recency
── more on @git 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/git-on-blake3-zstd-h…] indexed:0 read:1min 2026-12-01 · —