summaryrefslogtreecommitdiff
path: root/Documentation/technical
diff options
context:
space:
mode:
authorlin zuojian <manjian2006@gmail.com>2014-01-23 02:15:19 (GMT)
committerEric Wong <normalperson@yhbt.net>2014-01-23 02:54:26 (GMT)
commitab0bcec9873f1fcef6c4b8825cc9e762c636ca9e (patch)
tree28a78a98db9e1b8fabe193072cfaec19cb67a529 /Documentation/technical
parentd9bb4be53bc5185244b4be9860562a012803bacb (diff)
downloadgit-ab0bcec9873f1fcef6c4b8825cc9e762c636ca9e.zip
git-ab0bcec9873f1fcef6c4b8825cc9e762c636ca9e.tar.gz
git-ab0bcec9873f1fcef6c4b8825cc9e762c636ca9e.tar.bz2
git-svn: memoize _rev_list and rebuild
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> Signed-off-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 'Documentation/technical')
0 files changed, 0 insertions, 0 deletions