Submitter | Boris Feld |
---|---|
Date | Nov. 23, 2018, 2:08 p.m. |
Message ID | <56efcdd74aee7b45d2b8.1542982139@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/36731/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/contrib/perf.py b/contrib/perf.py --- a/contrib/perf.py +++ b/contrib/perf.py @@ -2199,7 +2199,9 @@ def perfbranchmapload(ui, repo, filter=b raise error.Abort(b'No branchmap cached for %s repo' % (filter or b'unfiltered')) timer, fm = gettimer(ui, opts) - timer(lambda: branchmap.read(repo) and None) + def bench(): + branchmap.read(repo) + timer(bench) fm.end() @command(b'perfloadmarkers')