--- a/contrib/perf.py Fri Jan 04 13:48:07 2013 +0100
+++ b/contrib/perf.py Fri Jan 04 19:18:12 2013 +0100
@@ -157,15 +157,6 @@
import mercurial.revlog
mercurial.revlog._prereadsize = 2**24 # disable lazy parser in old hg
n = repo[rev].node()
- def d():
- cl = mercurial.revlog.revlog(repo.sopener, "00changelog.i")
- cl.rev(n)
- timer(d)
-
-def perfnodelookup(ui, repo, rev):
- import mercurial.revlog
- mercurial.revlog._prereadsize = 2**24 # disable lazy parser in old hg
- n = repo[rev].node()
cl = mercurial.revlog.revlog(repo.sopener, "00changelog.i")
def d():
cl.rev(n)