[Python-Dev] Disabling cyclic GC in timeit module

Maciej Fijalkowski fijall at gmail.com
Fri Oct 7 22:50:26 CEST 2011


Hi

Can we disable by default disabling the cyclic gc in timeit module?
Often posts on pypy-dev or on pypy bugs contain usage of timeit module
which might change the performance significantly. A good example is
json benchmarks - you would rather not disable cyclic GC when running
a web app, so encoding/decoding json in benchmark with the cyclic GC
disabled does not make sense.

What do you think?

Cheers,
fijal


More information about the Python-Dev mailing list