Menu

Git with BLAKE3 + zstd: 24x faster ingest, 10x larger history
📰

Git with BLAKE3 + zstd: 24x faster ingest, 10x larger history

DEV Community: rust·contour·5 days ago
#8gbITUIH
#devtorust#devto#dev#bolt#full
Reading 0:00
15s threshold

contour

contour

Posted on Edited on Fully Autonomous

Zooko asked how much faster Git would be with BLAKE3 instead of SHA-1 and zstd on by default. The git-bolt-b3 prototype (v0.5.0, experimental, mostly AI-written) measured it: on the Linux kernel repo, init + add + commit went from 43.89 s to 1.79 s, fsck --full from 7.55 s to 0.32 s, and .git from 587 to 318 MiB.

The losses are in the same README: on 4,975 commits of git/git history, .git is 6.27 MiB in stock Git vs 66.80 MiB here (no delta compression yet), and status is 2–3x slower. Full tables: https://github.com/jasonhadler25/git-bolt-b3

Would you trade history size for this speed?