[issue31415] Add -X option to show import time
STINNER Victor
report at bugs.python.org
Wed Oct 11 11:40:56 EDT 2017
STINNER Victor <victor.stinner at gmail.com> added the comment:
> Why global _PyTime_GetWinPerfCounterWithInfo() is needed at all? It seems to me that _PyTime_GetPerfCounterWithInfo() can be used instead. Smaller API is better.
I chose to expose _PyTime_GetWinPerfCounterWithInfo() to make my change as small as possible.
I didn't want to break the old time.clock() clock by mistake.
By the way, time.clock() is deprecated since Python 3.3. It's maybe time to drop it?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31415>
_______________________________________
More information about the Python-bugs-list
mailing list