Mercurial > public > mercurial-scm > hg-stable
diff contrib/perf.py @ 50839:cf0502231d56
perf: display all timing by default
This is much more useful and end up enable it everywhere.
I don't think we have strong backward compatibility guarantee for perf.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 23 Jun 2023 13:27:09 +0200 |
parents | 193a6e9a56f3 |
children | 3ccef7902070 |
line wrap: on
line diff
--- a/contrib/perf.py Mon Jul 10 10:53:12 2023 +0200 +++ b/contrib/perf.py Fri Jun 23 13:27:09 2023 +0200 @@ -456,7 +456,7 @@ return functools.partial(stub_timer, fm), fm # experimental config: perf.all-timing - displayall = ui.configbool(b"perf", b"all-timing", False) + displayall = ui.configbool(b"perf", b"all-timing", True) # experimental config: perf.run-limits limitspec = ui.configlist(b"perf", b"run-limits", []) @@ -3359,7 +3359,7 @@ # get a formatter fm = ui.formatter(b'perf', opts) - displayall = ui.configbool(b"perf", b"all-timing", False) + displayall = ui.configbool(b"perf", b"all-timing", True) # print individual details if requested if opts['details']: