Re: [PATCH 2/2] Implement a simple delta_base cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]