author | Martin Langhoff <martin@catalyst.net.nz> | |
Fri, 3 Mar 2006 03:38:03 +0000 (16:38 +1300) | ||
committer | Martin Langhoff <martin@catalyst.net.nz> | |
Fri, 3 Mar 2006 03:38:03 +0000 (16:38 +1300) | ||
commit | 5398fed96699b5321678fdace86b6d4c62a155fb | |
tree | 3b6bb1b59be3cb36376a994fc6c244f864c16d38 | tree | snapshot |
parent | df45467ec98aa1c532196732c96a62589223353e | 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 |