mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
perf: restore lazyindex hack
This hack (and the module it lives in) exist so that performance can be compared across different hg versions.
This commit is contained in:
parent
856c224de7
commit
dc0a2bb9fd
@ -81,6 +81,7 @@ def perfmanifest(ui, repo):
|
||||
|
||||
def perfindex(ui, repo):
|
||||
import mercurial.revlog
|
||||
mercurial.revlog._prereadsize = 2**24 # disable lazy parser in old hg
|
||||
n = repo["tip"].node()
|
||||
def d():
|
||||
repo.invalidate()
|
||||
|
Loading…
Reference in New Issue
Block a user