changeset 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 c4b792fa109e
children eb981412d91e
files contrib/perf.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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()