Re: [PATCH 2/2] Implement a simple delta_base cache
From: Robin Rosenberg <hidden>
Date: 2016-06-15 22:43:00
söndag 18 mars 2007 04:31 skrev Linus Torvalds:
I'd still like to see the KDE repo, that thing went quiet after it was supposed to hit sneaker-net.. If it was 30 seconds before to do a "git log" for some individual file, after the recent optimizations it should hopefully be down to 10. And I agree that I might be more motivated to try to get it down further if I could just find a repository where it's that much.
I don't have the KDE repo, but I do have an Eclipse import. Without your patches I get (hot cache) # time git log -- org.eclipse.core.resources/src/org/eclipse/core/resources/ >/dev/null 65.10user 0.50system 1:12.44elapsed 90%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (0major+80242minor)pagefaults 0swaps With patch 1&2 (hot cache) # time ~/SW/GIT/git-log -- org.eclipse.core.resources/src/org/eclipse/core/resources/ >/dev/null 27.51user 0.21system 0:28.23elapsed 98%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (0major+80266minor)pagefaults 0swaps That's quite an improvement The eclipse repo is about 140k commits in the master branch and has a 3GB pack file (fromcvs import). -- robin