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

> Source: <https://dev.to/yasha1971coder/git-on-blake3-zstd-history-in-4-mib-frames-is-5x-smaller-3j23>
> Published: 2026-12-01 20:31:48+00:00

**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.

// 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](https://github.com/yasha1971-coder/hw-apex-bench/commit/0fbc30a180bfdaa576ad14fba60706823eae8fe1)

AI-assisted, checked by the author.
