A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-October/129557.html below:

[Python-Dev] GC pauses in CPython

[Python-Dev] GC pauses in CPython [Python-Dev] GC pauses in CPythonMaciej Fijalkowski fijall at gmail.com
Mon Oct 14 14:25:18 CEST 2013
On Mon, Oct 14, 2013 at 2:11 PM, "Martin v. Löwis" <martin at v.loewis.de> wrote:
> Am 14.10.13 13:49, schrieb Maciej Fijalkowski:
>> I'm working on an incremental GC for PyPy. How do I measure GC pauses
>> in CPython? (that is, the circular reference searching stuff)
>
> I would instrument the interpreter. The tricky part may be to subtract
> the time for any resulting finalization (and whether or not to subtract
> that at all).
>
> Regards,
> Martin
>

seems that:

gc.set_debug(gc.DEBUG_STATS) does the job

obviously timing gc.collect is quite the opposite of what I'm trying
to achieve (see how cpython deals with when to collect)

I think including finalizer time is fine
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4