This is an archive of the discontinued Mercurial Phabricator instance.

revlog: use LRU for the chain cache
ClosedPublic

Authored by joerg.sonnenberger on Oct 20 2020, 8:18 PM.

Details

Summary

For a large repository, this reduces the number of filelog instances and
associated data a lot. For a 1% speed penalty, it reduces peak RSS by
20% for the full NetBSD test repository.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.