ANN: hg graphlog extension
Joel Rosdahl
joel at rosdahl.net
Sun Apr 8 03:42:02 CDT 2007
"Alexis S. L. Carvalho" <alexis at cecm.usp.br> writes:
> Thus spake Joel Rosdahl:
>> Done. Current performance in the linux-2.6 repo on my box:
>>
>> hg glog -q > /dev/null # --> 8.0 seconds
>> hg log -q > /dev/null # --> 4.1 seconds
>
> Turns out that glog was hitting a performance buglet in revlog.py.
> After fixing it (changeset 43dedce9667e), in my (not up to date)
> kernel repo, the time goes from ~6.9s to ~6.3s (log -q is still
> around 3.8s).
>
> The patch below changes revision_grapher to walk the changeset graph
> using revision numbers instead of nodes - this is usually a bit
> faster, since the graph is stored using numbers, not nodes. The
> running time goes to ~5.6s.
> [...]
Thanks! Applied.
--
Regards,
Joel Rosdahl <joel at rosdahl.net>
Key BB845E97; fingerprint 9F4B D780 6EF4 5700 778D 8B22 0064 F9FF BB84 5E97
More information about the Mercurial
mailing list