# HG changeset patch # User Pierre-Yves David # Date 1610554911 -3600 # Node ID cce05a6c271fbfd13db577a3e6055bfa4b6174b7 # Parent c4b792fa109e30e133a1f78c37da7ce4cb76d1d9 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 diff -r c4b792fa109e -r cce05a6c271f contrib/perf.py --- 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()