Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

schwern (1528)

schwern
  (email not shown publicly)
http://schwern.net/
AOL IM: MichaelSchwern (Add Buddy, Send Message)
Jabber: schwern@gmail.com

Schwern can destroy CPAN at his whim.

Journal of schwern (1528)

Saturday October 16, 2004
10:11 PM

Please tell me svn isn't this slow.

[ #21381 ]

I'm considering moving from CVS to Subversion now that svn finally installs cleanly with fink on OS X. However...

$ time svn --version > /dev/null
 
real    0m0.960s
user    0m0.870s
sys     0m0.040s
 
$ time cvs --version > /dev/null
 
real    0m0.040s
user    0m0.000s
sys     0m0.020s

Please, please, please tell me every Subversion command isn't going to take a minimum of a second to execute.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I don't know what's making it so slow for you, but that's certainly not what I'm seeing here on OS X.

    $ time svn --version > /dev/null
    real 0m0.130s
    user 0m0.060s
    sys 0m0.000s

    What version of svn are you using, just out of curiosity? And can you perhaps try and get a handle on what it's doing? Perhaps some ktrace output?
  • It's probably something else; on my OS X (svn: 1.05) I got:

    shazam:~ cwinters$ time svn --version > /dev/null

    real    0m0.066s
    user    0m0.050s
    sys     0m0.020s
    shazam:~ cwinters$ time cvs --version > /dev/null

    real    0m0.091s
    user    0m0.000s
    sys     0m0.020s

    My only use of svn has been on win32. There I found that for everything except checking out it was as fast or faster than cvs. Checking out an SVN branch is remarkably slow, but

  • There was some discussion on the subversion users mailing list of the slowness of some of the recent versions. While I am not sure it is related to what you are experiencing I read it is going to be fixed soon.
    --
    • The slowness that was discussed on the list was related to the operation that underlies the 'svn list' command, and only when used over the ra_dav ra layer. It'll be fixed in 1.1.1, which should be out in the next day or so, the fix was already released as part of 1.0.9 if you're still using the 1.0.x series of releases.

      That said, that problem has nothing to do with what he's seeing here.
  • Check and make sure your system isn't trying to use IPV6 for name resolution. It can slow down the first connection to a system (even localhost).

    Does it give the same speed difference if you do them in reverse order?