Show More
@@ -2247,7 +2247,9 b' def perfbranchmapload(ui, repo, filter=b' | |||
|
2247 | 2247 | raise error.Abort(b'No branchmap cached for %s repo' |
|
2248 | 2248 | % (filter or b'unfiltered')) |
|
2249 | 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 | 2253 | fm.end() |
|
2252 | 2254 | |
|
2253 | 2255 | @command(b'perfloadmarkers') |
General Comments 0
You need to be logged in to leave comments.
Login now