Mercurial > hg
diff contrib/perf.py @ 13260:911a4499adb0
perf: fix ordering of invalidate in perfindex
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 12 Jan 2011 11:34:42 -0600 |
parents | 2696730ca233 |
children | 2f532ea537a6 |
line wrap: on
line diff
--- a/contrib/perf.py Tue Jan 11 21:52:03 2011 -0600 +++ b/contrib/perf.py Wed Jan 12 11:34:42 2011 -0600 @@ -84,8 +84,8 @@ mercurial.revlog._prereadsize = 2**24 # disable old lazy parser n = repo["tip"].node() def d(): + repo.invalidate() repo[n] - repo.invalidate() timer(d) def perfstartup(ui, repo):