Mercurial > hg > mercurial-crew
diff contrib/perf.py @ 19711:0a881ea4bed4
perfmanifest: fix cache invalidation
The manifest cache is now stored in _mancache. The revlog cache is still stored
in _cache.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Fri, 06 Sep 2013 13:20:07 -0700 (2013-09-06) |
parents | 9de689d20230 |
children | 79e5de2bfa8c |
line wrap: on
line diff
--- a/contrib/perf.py +++ b/contrib/perf.py @@ -175,9 +175,9 @@ def perfmanifest(ui, repo): def d(): t = repo.manifest.tip() + repo.manifest._mancache.clear() + repo.manifest._cache = None repo.manifest.read(t) - repo.manifest.mapcache = None - repo.manifest._cache = None timer(d) @command('perfchangeset')