Integration of Mercurial into LXR

andre-littoz page74010-sf at yahoo.fr
Sun Dec 16 08:59:41 UTC 2012


I have deeply restructured LXR storage backend at the light of what I understand of Mercurial concepts that are transposable to other storage engines.

With a careful choice of hg commands, there is now only one call (on average) to hg to get all the pieces of information LXR needs. That's done through co-routines and queues. This solves the performance issue on individual file access. It also has a beneficial speed-up effect on the other storage engines, too.

However, I'm still faced with the performance issue on directory retrieval. I've narrowed the questionable code area to 10-20 lines (in LXR). The analysis will be done later since I'll be away during a few days for business.

Regards,
André
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20121216/d238f215/attachment-0002.html>


More information about the Mercurial mailing list