[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

issue 1715: speed up 'svn blame'

From: Martin Dorey <mdorey_at_bluearc.com>
Date: 2004-07-18 21:57:15 CEST

I just tried subversion-1.1.0-rc1.tar.bz2 to see if it would help my svn
blame speed issue. It was roughly the same speed in this test as
version 1.0.5:

 

martind@doozer:~/download/subversion.tigris.org/subversion-1.1.0-rc1$
time ./subversion/clients/cmdline/svn annotate -r 170
~/work/scm/src/Badger.java

 

real 1m11.468s

user 0m0.176s

sys 0m0.396s

martind@doozer:~/download/subversion.tigris.org/subversion-1.1.0-rc1$
time svn annotate -r 170 ~/work/scm/src/Badger.java > /dev/null

 

real 1m6.751s

user 0m0.172s

sys 0m0.149s

martind@doozer:~/download/subversion.tigris.org/subversion-1.1.0-rc1$

 

This isn't a very large file - 619 lines and 179 revisions. The same
annotate command at the other end of the ssh link is fine:

 

martind@locke:~/work/scm$ time svn -r 170 annotate src/Badger.java >
/dev/null

 

real 0m0.630s

user 0m0.500s

sys 0m0.101s

martind@locke:~/work/scm$

 

And the ssh link itself can't be too bad, as svn log only takes 5s:

 

martind@doozer:~/download/subversion.tigris.org/subversion-1.1.0-rc1$
time svn log ~/work/scm/src/Badger.java > /dev/null

 

real 0m5.059s

user 0m0.038s

sys 0m0.029s

martind@doozer:~/download/subversion.tigris.org/subversion-1.1.0-rc1$
time ./subversion/clients/cmdline/svn log ~/work/scm/src/Badger.java >
/dev/null

 

 

real 0m5.362s

user 0m0.045s

sys 0m0.234s

martind@doozer:~/download/subversion.tigris.org/subversion-1.1.0-rc1$

--
Martin, BlueArc Engineering 
 
Received on Sun Jul 18 23:40:10 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.