Mercurial > public > mercurial-scm > hg-stable
diff contrib/perf.py @ 46255:cce05a6c271f
perf: don't turn byte to string when formatting perfbranchmap
I am not sure why this `str` all is there is the first place.
Differential Revision: https://phab.mercurial-scm.org/D9751
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 13 Jan 2021 17:21:51 +0100 |
parents | 96b73671753a |
children | b8d8fd2fe75f |
line wrap: on
line diff
--- a/contrib/perf.py Fri Dec 18 14:45:28 2020 +0100 +++ b/contrib/perf.py Wed Jan 13 17:21:51 2021 +0100 @@ -3484,7 +3484,7 @@ printname = name if name is None: printname = b'unfiltered' - timer(getbranchmap(name), title=str(printname)) + timer(getbranchmap(name), title=printname) finally: branchcacheread.restore() branchcachewrite.restore()