[PATCH]: Speed up deletion of multiple files
From: Paul Burba <ptburba_at_gmail.com>
Date: Wed, 23 May 2012 18:42:43 -0400
On one CollabNet's forums a user reported that a single delete command
I'm able to replicate similar behavior with a partial checkout of
My test WC:
WC Size: 437 MB 21,012 Files, 2,717 Folders
Using 1.7.5 this takes almost 27 minutes on my machine:
C:\SVN\sandbox\subversion-tags>timethis svn delete -q --targets
TimeThis : Command Line : svn delete -q --targets del-target.2463.txt
TimeThis : Command Line : svn delete -q --targets del-target.2463.txt
trunk_at_1341851 is significantly faster, taking only 16 minutes:
C:\SVN\sandbox\subversion-tags>timethis svn delete -q --targets
TimeThis : Command Line : svn delete -q --targets del-target.2463.txt
TimeThis : Command Line : svn delete -q --targets del-target.2463.txt
Using optimizations similar to what Bert used in r1341848 and creating
C:\SVN\sandbox\subversion-tags>timethis svn delete -q --targets
TimeThis : Command Line : svn delete -q --targets del-target.2463.txt
TimeThis : Command Line : svn delete -q --targets del-target.2463.txt
...So, WCNG gurus, does this look ok?
[[[
* subversion/libsvn_wc/wc-queries.sql
(STMT_INSERT_DELETE_LIST_RECURSIVE,
* subversion/libsvn_wc/wc_db.c
-- Paul T. Burba CollabNet, Inc. -- www.collab.net -- Enterprise Cloud Development Skype: ptburba
|
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.