changeset 30976 | e92daf156d5c |
parent 30975 | 22fbca1d11ed |
child 30993 | 9c2977ceaa46 |
--- a/mercurial/dispatch.py Wed Feb 15 13:17:39 2017 -0800 +++ b/mercurial/dispatch.py Wed Feb 15 13:17:45 2017 -0800 @@ -137,6 +137,9 @@ finally: duration = util.timer() - starttime req.ui.flush() + if req.ui.logblockedtimes: + req.ui._blockedtimes['command_duration'] = duration * 1000 + req.ui.log('uiblocked', 'ui blocked ms', **req.ui._blockedtimes) req.ui.log("commandfinish", "%s exited %s after %0.2f seconds\n", msg, ret or 0, duration) return ret