From: Eric Wong Date: Thu, 23 Jan 2014 02:58:07 GMT Subject: Re: [PATCH v3] git-svn: memoize _rev_list and rebuild Message-ID: <20140123025807.GA4370@dcvr.yhbt.net> In-Reply-To: <1390443319-11239-1-git-send-email-manjian2006@gmail.com> manjian2006@gmail.com wrote: > According to profile data, _rev_list and rebuild consume a large > portion of time. Memoize the results of _rev_list and memoize > rebuild internals to avoid subprocess invocation. > > When importing 15152 revisions on a LAN, time improved from 10 > hours to 3-4 hours. > > Signed-off-by: lin zuojian Thanks! Signed-off-by: Eric Wong Pushed for Junio. The following changes since commit d9bb4be53bc5185244b4be9860562a012803bacb: Merge tag 'gitgui-0.19.0' of http://repo.or.cz/r/git-gui (2014-01-21 13:16:17 -0800) are available in the git repository at: git://git.bogomips.org/git-svn.git master for you to fetch changes up to ab0bcec9873f1fcef6c4b8825cc9e762c636ca9e: git-svn: memoize _rev_list and rebuild (2014-01-23 02:54:26 +0000) ---------------------------------------------------------------- lin zuojian (1): git-svn: memoize _rev_list and rebuild perl/Git/SVN.pm | 41 ++++++++++++++++++++++++++++++++++++++--- 1 file changed, 38 insertions(+), 3 deletions(-)