[WIP] lazy revlog index parsing

Bryan O'Sullivan bos at serpentine.com
Wed Mar 14 17:18:19 CDT 2012


The current index parser is eager, and does a lot of unnecessary work on
large revlogs.

This causes e.g. "hg tip" to take 0.3 seconds on a repo that contains
300,000 commits.

I've adopted a patch that Matt started on, which parses the index on
demand. This brings the performance of "hg tip" in the large-commit case
back to instantaneous.

https://gist.github.com/2039952
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20120314/3040d888/attachment.html>


More information about the Mercurial-devel mailing list