author | Martin Langhoff <martin@catalyst.net.nz> | |
Fri, 3 Mar 2006 03:38:03 +0000 (16:38 +1300) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 3 Mar 2006 06:56:27 +0000 (22:56 -0800) | ||
commit | 501c7372c73c980eed042c90e3518c2ab816c846 | |
tree | 845ce9d87c90cc60a2cb64714d0963191c1ed3fb | tree | snapshot |
parent | b8310152bc5622e4d449e3113ba4edec8fd08087 | commit | diff |
cvsserver: checkout faster by sending files in a sensible order
Just by sending the files in an ordered fashion, clients can process them
much faster. And we can optimize our check of whether we created this
directory already -- faster.
Timings for a checkout on a commandline cvs client for a project with
~13K files totalling ~100MB:
Unsorted:
603.12 real 16.89 user 42.88 sys
Sorted:
298.19 real 26.37 user 42.42 sys
Just by sending the files in an ordered fashion, clients can process them
much faster. And we can optimize our check of whether we created this
directory already -- faster.
Timings for a checkout on a commandline cvs client for a project with
~13K files totalling ~100MB:
Unsorted:
603.12 real 16.89 user 42.88 sys
Sorted:
298.19 real 26.37 user 42.42 sys
git-cvsserver.perl | diff | blob | history |