{"slug": "git-on-blake3-zstd-history-in-4-mib-frames-is-5x-smaller", "title": "git on BLAKE3 + zstd: history in 4 MiB frames is 5x smaller", "summary": "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.", "body_md": "// 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\" }\n\nThe 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.\n\nWould you give up one-object reads for a 5x smaller history?\n\nScript: [https://github.com/yasha1971-coder/hw-apex-bench/commit/0fbc30a180bfdaa576ad14fba60706823eae8fe1](https://github.com/yasha1971-coder/hw-apex-bench/commit/0fbc30a180bfdaa576ad14fba60706823eae8fe1)\n\nAI-assisted, checked by the author.", "url": "https://wpnews.pro/news/git-on-blake3-zstd-history-in-4-mib-frames-is-5x-smaller", "canonical_source": "https://dev.to/yasha1971coder/git-on-blake3-zstd-history-in-4-mib-frames-is-5x-smaller-3j23", "published_at": "2026-12-01 20:31:48+00:00", "updated_at": "2026-12-01 20:43:36.847720+00:00", "lang": "en", "topics": ["developer-tools"], "entities": ["git", "BLAKE3", "zstd", "git-bolt-b3", "git/git"], "also_reported_by": [], "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.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/git-on-blake3-zstd-history-in-4-mib-frames-is-5x-smaller", "markdown": "https://wpnews.pro/news/git-on-blake3-zstd-history-in-4-mib-frames-is-5x-smaller.md", "text": "https://wpnews.pro/news/git-on-blake3-zstd-history-in-4-mib-frames-is-5x-smaller.txt", "jsonld": "https://wpnews.pro/news/git-on-blake3-zstd-history-in-4-mib-frames-is-5x-smaller.jsonld"}}