brane@xbc.nu wrote:
> Wait a minute -- are you saying that "svn st -u" is slower than "svn
> up"? That doesn't make sense. If that's so, it's a --- well, not a
> bug, but definitely a defect :-)
>
> OTOH, we have a _lot_ of room for improvement for performance,
> especially memory usage and file access in the wc. Getting and
> analysing some strace's would be agreat help here.
,----[ for starters ]
| naked@oro:~/src/subversion/svn$ time svn up
| At revision 1900.
|
| real 0m2.928s
| user 0m0.700s
| sys 0m0.180s
| naked@oro:~/src/subversion/svn$ time svn st -u
| Head revision: 1900
|
| real 0m5.634s
| user 0m4.310s
| sys 0m0.400s
`----
While straceing, I discovered that 'svn up' only runs stat on every
file - and reads the entries from every .svn directory. 'svn st -u' on
the other hand stats every file two to four times in a row, and also
stats much more files in the .svn directory, such as prop-bases, props
and dir-props.
I do not know if that already accounts for the 5 times more CPU time,
but it's a start.
-- Naked
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 8 00:33:08 2002