by somenewaccount1 · 3y ago · 0 comments
Ugh...so after all that fanfare of how amazing fossil is, the author admits it just doesn't scale well. I was wondering how that "see it all" approach worked for a busy repo, and now I know, it just doesn't.
I love SQLite, and glad the primary author is happy working on it with fossil. I think if he published it's largest downfall first, it might gain more adoption to folks that could actually use that feature.
[0] https://blog.melski.net/2013/12/11/update-scons-is-still-rea...
time fossil clone https://fossil-scm.org/
time git clone https://github.com/drhsqlite/fossil-mirror
My results were fossil
time > real 5m43.120s user 2m56.532s sys 0m48.246s
ls -lh > 60M fossil-scm.fossil
git
time > real 10m35.043s user 5m58.427s sys 1m10.555s
du -sh fossil-mirror/.git/ > 829M
[0]: https://fossil-scm.org/home/doc/trunk/www/stats.wiki
[1]: https://fossil-scm.org/home/timeline git repack -a -f -d
du -sh .git
65M .git
It's also significantly faster to clone after the repack: time git clone --mirror https://github.com/drhsqlite/fossil-mirror
65.10s user 21.22s system 35% cpu 4:05.92 total
time git clone --no-local fossil-mirror fossil-no-repack
26.92s user 2.99s system 155% cpu 19.190 total
git -C fossil-mirror.git repack -a -f -d
time git clone --no-local fossil-mirror fossil-repack
5.42s user 1.18s system 211% cpu 3.121 total
Edit: took new measurements with --mirror on the first clone so that the "local" clones actually get all the branches.Also:
git gc --aggressive
du -sh .git
42M .gitThis article is not a comparison between Fossil and Git.
This article is not advocating that you switch your projects away from Git.