git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v3] git-svn: memoize _rev_list and rebuild

From
EWEric Wong <normalperson@yhbt.net>
Date
Jan 23, 2014, 02:58 UTC
Message-ID
<20140123025807.GA4370@dcvr.yhbt.net>
In-Reply-To
<1390443319-11239-1-git-send-email-manjian2006@gmail.com>
manjian2006@gmail.com wrote:
Show 8 quoted lines
> 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(-)
Previous: manjian2006@gmail.comNext: Junio C Hamano
Message 2 of 4 in “git-svn: memoize _rev_list and rebuild”
  1. git-svn: memoize _rev_list and rebuildmanjian2006@gmail.com, Jan 23, 2014
  2. Eric WongJan 23, 2014
  3. Junio C HamanoJan 23, 2014
  4. Eric WongOct 25, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.