subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Krey <>
Subject Re: svn wc&repo performance
Date Tue, 09 Aug 2011 09:51:25 GMT
On Tue, 09 Aug 2011 11:38:41 +0000, Stefan Sperling wrote:
> Which script are you referring to? Can you post it or provide a link?

This one:

set -xe
rm -rf repo wc
time svnadmin create repo
time svn checkout file:///`pwd`/repo wc
cd wc
mkdir D
touch A D/B D/C E
# svn add . # <- That nuisance 'already under control'...
time svn add A D E
time svn commit -m 'initial'
time svn up
time svn up
date >D/B
date >A
time svn propset blub blah .
#(cd D && svn commit . -m green)
time svn commit D -m green
time svn commit . -m blau

> What platform are you running your test on?

Macbook Pro, not that new. The times are pretty similar on a Sun, as
well as on a linux box.  (Also across svn versions, from 1.5.5 to 1.7)

Output on the latter:
+ rm -rf repo wc
+ svnadmin create repo

real	0m0.577s
user	0m0.004s
sys	0m0.008s
++ pwd
+ svn checkout file:////home/krey/svnt/repo wc
Checked out revision 0.

real	0m0.672s
user	0m0.008s
sys	0m0.004s
+ cd wc
+ mkdir D
+ touch A D/B D/C E
+ svn add A D E
A         A
A         D
A         D/B
A         D/C
A         E

real	0m0.032s
user	0m0.004s
sys	0m0.004s
+ svn commit -m initial
Adding         A
Adding         D
Adding         D/B
Adding         D/C
Adding         E
Transmitting file data ....
Committed revision 1.

real	0m0.931s
user	0m0.016s
sys	0m0.012s
+ svn up
At revision 1.

real	0m1.000s
user	0m0.000s
sys	0m0.008s
+ svn up
At revision 1.

real	0m1.002s
user	0m0.000s
sys	0m0.008s
+ date
+ date
+ svn propset blub blah .
property 'blub' set on '.'

real	0m0.016s
user	0m0.008s
sys	0m0.004s
+ svn commit D -m green
Sending        D/B
Transmitting file data .
Committed revision 2.

real	0m0.973s
user	0m0.004s
sys	0m0.008s
+ svn commit . -m blau
Sending        .
svn: Commit failed (details follow):
svn: Directory '/' is out of date

"Totally trivial. Famous last words."
From: Linus Torvalds <torvalds@*.org>
Date: Fri, 22 Jan 2010 07:29:21 -0800

View raw message