Mercurial > public > mercurial-scm > hg-stable
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 |
parents | 9de689d20230 |
children | 79e5de2bfa8c |
line wrap: on
line diff
--- a/contrib/perf.py Fri Sep 06 13:16:21 2013 -0700 +++ b/contrib/perf.py Fri Sep 06 13:20:07 2013 -0700 @@ -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')