[issue3376] rebuilding the tags cache is slow in a big repo
Bryan O'Sullivan
bugs at mercurial.selenic.com
Tue Apr 17 16:37:26 CDT 2012
New submission from Bryan O'Sullivan <bos at serpentine.com>:
This has a simple test case:
cd linux-2.6
rm -f .hg/cache/tags
hg --time tip
I just sent some patches to the list that partially address this by moving
revlog.headrevs into parsers.c.
In the linux-2.6 tree, the headrevs patch improves time from 0.8 seconds to
0.3.
Things are less rosy elsewhere - I have another repo with 330,000 commits,
where the headrevs patch improves time from 2.2 to 1.6 seconds. The profile
of the remaining time is similar to the linux-2.6 case - it's reconstructing
a revision, and spending a lot of time in zlib.decompress.
----------
messages: 19637
nosy: bos
priority: bug
status: unread
title: rebuilding the tags cache is slow in a big repo
____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue3376>
____________________________________________________
More information about the Mercurial-devel
mailing list