Re: [PATCH 2/2] Implement a simple delta_base cache
- From
Robin Rosenberg <robin.rosenberg.lists@dewire.com>
- Date
- Mar 18, 2007, 10:53 UTC
- Message-ID
- <200703181153.59768.robin.rosenberg.lists@dewire.com>
- In-Reply-To
- <Pine.LNX.4.64.0703172013340.6730@woody.linux-foundation.org>
söndag 18 mars 2007 04:31 skrev Linus Torvalds:
Show 7 quoted lines
> 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