Git development
 help / color / mirror / Atom feed
From: Eric Wong <normalperson@yhbt.net>
To: manjian2006@gmail.com
Cc: git@vger.kernel.org, Junio C Hamano <gitster@pobox.com>
Subject: Re: [PATCH v3] git-svn: memoize _rev_list and rebuild
Date: Thu, 23 Jan 2014 02:58:07 +0000	[thread overview]
Message-ID: <20140123025807.GA4370@dcvr.yhbt.net> (raw)
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 <manjian2006@gmail.com>

Thanks!
Signed-off-by: Eric Wong <normalperson@yhbt.net>
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(-)

  reply	other threads:[~2014-01-23  2:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-23  2:15 [PATCH v3] git-svn: memoize _rev_list and rebuild manjian2006
2014-01-23  2:58 ` Eric Wong [this message]
2014-01-23 16:49   ` Junio C Hamano
2014-10-25  5:44 ` Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140123025807.GA4370@dcvr.yhbt.net \
    --to=normalperson@yhbt.net \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=manjian2006@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox