You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Justin Erenkrantz <je...@apache.org> on 2002/07/10 08:06:03 UTC

Re: svn commit: rev 2449 - trunk/subversion/libsvn_wc

On Wed, Jul 10, 2002 at 02:52:37AM -0500, jerenkrantz@tigris.org wrote:
> Author: jerenkrantz
> Date: Wed, 10 Jul 2002 02:52:21 -0500
> New Revision: 2449
> 
> Modified:
>    trunk/subversion/libsvn_wc/diff.c
> Log:
> * subversion/libsvn_wc/diff.c
>   (directory_elements_diff): Use a subpool for diffing each file in the
>   current directory.
> 
> Reviewed by: Sander Striker

For me, this reduces client-side-only svn diff memory usage from
~188MB to ~3MB for a linux-2.4.14 SVN repository with a local patch
of 2.4.15 applied.  Also saves about 20 seconds for me in doing
the diff since the VM doesn't have to allocate as much.

Please let me know if you have any questions.  -- justin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn commit: rev 2449 - trunk/subversion/libsvn_wc

Posted by Karl Fogel <kf...@newton.ch.collab.net>.
Justin Erenkrantz <je...@apache.org> writes:
> > Modified:
> >    trunk/subversion/libsvn_wc/diff.c
> > Log:
> > * subversion/libsvn_wc/diff.c
> >   (directory_elements_diff): Use a subpool for diffing each file in the
> >   current directory.
> > 
> > Reviewed by: Sander Striker
> 
> For me, this reduces client-side-only svn diff memory usage from
> ~188MB to ~3MB for a linux-2.4.14 SVN repository with a local patch
> of 2.4.15 applied.  Also saves about 20 seconds for me in doing
> the diff since the VM doesn't have to allocate as much.
> 
> Please let me know if you have any questions.  -- justin

No questions, seems like a good idea!

I committed a tweak in revision 2454 that you might want to look at.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org