[issue27535] Ignored ResourceWarning warnings leak memory in warnings registries
STINNER Victor
report at bugs.python.org
Fri Nov 24 16:37:01 EST 2017
STINNER Victor <victor.stinner at gmail.com> added the comment:
> These results look strange to me. I expected the same difference but smaller the base time.
Honestly, I was also surprised.
I checked the whole benchmark twice. I also rebased the PR locally to make sure that it's not a side effect of a recent change in master.
Results are reliable and reproductible.
FYI I ran the C benchmark on my laptop "apu" using CPU isolation.
--
I reproduced the benchmark on my other "selma" laptop, without CPU isolation (so less reliable).
C benchmark:
haypo at selma$ python3 -m perf compare_to master.json ignore.json
Mean +- std dev: [master] 932 ns +- 66 ns -> [ignore] 1.01 us +- 0.05 us: 1.09x slower (+9%)
==> +78 ns
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue27535>
_______________________________________
More information about the Python-bugs-list
mailing list