Show More
@@ -2247,7 +2247,9 b' def perfbranchmapload(ui, repo, filter=b' | |||||
2247 | raise error.Abort(b'No branchmap cached for %s repo' |
|
2247 | raise error.Abort(b'No branchmap cached for %s repo' | |
2248 | % (filter or b'unfiltered')) |
|
2248 | % (filter or b'unfiltered')) | |
2249 | timer, fm = gettimer(ui, opts) |
|
2249 | timer, fm = gettimer(ui, opts) | |
2250 | timer(lambda: branchmap.read(repo) and None) |
|
2250 | def bench(): | |
|
2251 | branchmap.read(repo) | |||
|
2252 | timer(bench) | |||
2251 | fm.end() |
|
2253 | fm.end() | |
2252 |
|
2254 | |||
2253 | @command(b'perfloadmarkers') |
|
2255 | @command(b'perfloadmarkers') |
General Comments 0
You need to be logged in to leave comments.
Login now