Re: [Python-Dev] GC pauses in CPython

2013-10-14 Thread Maciej Fijalkowski
On Mon, Oct 14, 2013 at 2:42 PM, Antoine Pitrou wrote: > Le Mon, 14 Oct 2013 14:38:44 +0200, > Maciej Fijalkowski a écrit : > >> On Mon, Oct 14, 2013 at 2:34 PM, Antoine Pitrou >> wrote: >> > Le Mon, 14 Oct 2013 14:25:18 +0200, >> > Maciej Fijalkowski a écrit : >> >> On Mon, Oct 14, 2013 at 2:1

Re: [Python-Dev] GC pauses in CPython

2013-10-14 Thread Antoine Pitrou
Le Mon, 14 Oct 2013 14:38:44 +0200, Maciej Fijalkowski a écrit : > On Mon, Oct 14, 2013 at 2:34 PM, Antoine Pitrou > wrote: > > Le Mon, 14 Oct 2013 14:25:18 +0200, > > Maciej Fijalkowski a écrit : > >> On Mon, Oct 14, 2013 at 2:11 PM, "Martin v. Löwis" > >> wrote: > >> > Am 14.10.13 13:49, sch

Re: [Python-Dev] GC pauses in CPython

2013-10-14 Thread Maciej Fijalkowski
On Mon, Oct 14, 2013 at 2:34 PM, Antoine Pitrou wrote: > Le Mon, 14 Oct 2013 14:25:18 +0200, > Maciej Fijalkowski a écrit : >> On Mon, Oct 14, 2013 at 2:11 PM, "Martin v. Löwis" >> wrote: >> > Am 14.10.13 13:49, schrieb Maciej Fijalkowski: >> >> I'm working on an incremental GC for PyPy. How do

Re: [Python-Dev] GC pauses in CPython

2013-10-14 Thread Antoine Pitrou
Le Mon, 14 Oct 2013 14:25:18 +0200, Maciej Fijalkowski a écrit : > On Mon, Oct 14, 2013 at 2:11 PM, "Martin v. Löwis" > 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 refe

Re: [Python-Dev] GC pauses in CPython

2013-10-14 Thread Maciej Fijalkowski
On Mon, Oct 14, 2013 at 2:11 PM, "Martin v. Löwis" 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 pa

Re: [Python-Dev] GC pauses in CPython

2013-10-14 Thread Alex Gaynor
Maciej Fijalkowski gmail.com> writes: > > HI > > I'm working on an incremental GC for PyPy. How do I measure GC pauses > in CPython? (that is, the circular reference searching stuff) > > Cheers, > fijal > For what it's worth I threw together some code that might be helpful: http://bpaste.ne

Re: [Python-Dev] GC pauses in CPython

2013-10-14 Thread Martin v. Löwis
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

Re: [Python-Dev] GC pauses in CPython

2013-10-14 Thread Antoine Pitrou
Le Mon, 14 Oct 2013 13:49:34 +0200, Maciej Fijalkowski a écrit : > HI > > I'm working on an incremental GC for PyPy. How do I measure GC pauses > in CPython? (that is, the circular reference searching stuff) timeit gc.collect()? ___ Python-Dev mailin

[Python-Dev] GC pauses in CPython

2013-10-14 Thread Maciej Fijalkowski
HI I'm working on an incremental GC for PyPy. How do I measure GC pauses in CPython? (that is, the circular reference searching stuff) Cheers, fijal ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Un