comparison mercurial/wireprotoserver.py @ 42364:a09829e14fc0

perf: make sure to explicitly disable any profiler after the first iteration The current code work, because of some edge behavior of the `profile` class. We make it explicit that the profiler is not in effect more than once.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 23 May 2019 19:05:39 +0200
parents 3e47d1ec9da5
children 2c4f656c8e9f
comparison
equal deleted inserted replaced
42363:b02f3aa2fab5 42364:a09829e14fc0