Mercurial > hg
diff mercurial/loggingutil.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 | 96be0ecad648 |
children | 2372284d9457 |