D477: revlog: add option to mmap revlog index
simonfar (Simon Farnsworth)
phabricator at mercurial-scm.org
Thu Aug 24 14:26:54 UTC 2017
simonfar added inline comments.
INLINE COMMENTS
> test-revlog-mmapindex.t:12-13
> +
> +mmap index which is now more than 4k long
> + $ hg log -l 5 -T '{rev}\n' --config experimental.mmapindexthreshold=4k
> + 100
Two things:
1. Can you add a `ui.debug()` or similar so that you can show that `mmap()` is in use here?
2. Can you repeat the test without `mmap()` to show that `mmap()` and not-`mmap()` both still work?
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D477
To: mbthomas, #fbhgext, indygreg, #hg-reviewers, durin42
Cc: quark, durin42, simonfar, mercurial-devel
More information about the Mercurial-devel
mailing list