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

Re: "svn diff" performance

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-07-24 14:21:56 CEST

Vladimir Prus <ghost@cs.msu.su> writes:

> time svn diff -r2674:2675 http://svn.collab.net/repos/svn
>
> and the output is
> real 1m37.448s
> user 0m0.230s
> sys 0m0.030s

Vladmir,

You're asking the server to compare two trees, namely '/' and '/'. Do
you have any idea how *big* those trees are? We have the /trunk tree,
and at least 4 copies of it in /branches, and 2 more copies of it in
/tags. And each source tree is itself pretty large, over 800 files
and directories to compare.

If you run

    svn diff -r2674:2675 http://svn.collab.net/repos/svn/trunk

...it only takes 12 seconds.

If you run 'svn diff -v -r2675', you'd see exactly which files
changed, and might be able to refine the diff even further, to search
a smaller tree.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 24 14:24:13 2002

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

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