Table of Contents | The Python Profilers | Report a bug | Improve this page | index | modules | Python | 3.14.7 Documentation | The Python Standard Library | Debugging and Profiling | trace — Trace or track Python statement executio
Tin mới
trace — Trace or track Python statement execution
Changed in version 3.3: time.perf_counter() is now the default timer.
By default, timeit() temporarily turns off garbage collection during the timing. The advantage of this approach is that it makes independent timings more comparable. The disadvantage is that GC may be an important compon