[Python-ideas] add a global tick register to the interpreter?

Antoine Pitrou solipsis at pitrou.net
Fri Oct 23 16:39:14 CEST 2009


Sturla Molden <sturla at ...> writes:
> 
> When measuring the performance of a Python or Python program, it is often
> required to keep precise count of interpreter tics and periodic checks.

Well... interpreter ticks only measures the number of opcodes executed, not the
number of seconds elapsed. It's not a reliable performance measure at all,
unless you want to measure ticking itself.






More information about the Python-ideas mailing list