Hi Anto,

On Mon, 24 Dec 2018 at 12:45, Carl Friedrich Bolz-Tereick <cfb...@gmx.de> wrote:
>> https://bitbucket.org/pypy/extradoc/src/extradoc/blog/draft/2018-12-gc-disable/gc-disable.rst?at=extradoc&fileviewer=file-view-default

Any clue about why the "purple line" graph, after adding some
gc.disable() and gc.collect_step(), is actually 10% faster than the
baseline?  Is that because "purple" runs the GC when "yellow" would be
sleeping waiting for the next input, and you don't count that time in
the performance?  If so, maybe we could clarify that we don't expect
better overall performance by adding some gc.disable() and
gc.collect_step() in a program doing just computations---in this case
it works because it is reorganizing tasks in such a way that the GC
runs at a moment where it is "free".


A bientôt,

Armin.
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to