Re: [Python-Dev] Free lists

2015-05-11 Thread Stefan Behnel
Serhiy Storchaka schrieb am 09.05.2015 um 21:01: Here is a statistic for most called PyObject_INIT or PyObject_INIT_VAR for types (collected during running Python tests on 32-bit Linux). I'm aware that this includes lots of tests for the Python code in the stdlib, so these numbers are most

Re: [Python-Dev] Free lists

2015-05-10 Thread Serhiy Storchaka
On 10.05.15 02:25, Ian Cordasco wrote: Can you share how you gathered them so someone could run them on a 64-bit build? This is quick and dirty patch. It generates 8 GB log file! patch --merge -p1 PyObject_INIT_stat.diff make -s -j2 ./python -Wd -m test.regrtest -w -uall 2PyObject_INIT.log

Re: [Python-Dev] Free lists

2015-05-10 Thread Serhiy Storchaka
Here is comparable statistic collected from tests ran with an executable buil with COUNT_ALLOCS. typecount % acc.% tuple 448855278 29.50% 29.50% frame 203515969 13.38% 42.88% str

Re: [Python-Dev] Free lists

2015-05-10 Thread Larry Hastings
On 05/09/2015 11:22 PM, Serhiy Storchaka wrote: On 10.05.15 02:25, Ian Cordasco wrote: Can you share how you gathered them so someone could run them on a 64-bit build? This is quick and dirty patch. It generates 8 GB log file! I ran it under 64-bit Linux. Actually it generated a 10GB log

Re: [Python-Dev] Free lists

2015-05-09 Thread Ian Cordasco
On May 9, 2015 5:07 PM, Serhiy Storchaka storch...@gmail.com wrote: On 09.05.15 22:51, Larry Hastings wrote: On 05/09/2015 12:01 PM, Serhiy Storchaka wrote: Here is a statistic for most called PyObject_INIT or PyObject_INIT_VAR for types (collected during running Python tests on 32-bit

Re: [Python-Dev] Free lists

2015-05-09 Thread Serhiy Storchaka
On 09.05.15 22:51, Larry Hastings wrote: On 05/09/2015 12:01 PM, Serhiy Storchaka wrote: Here is a statistic for most called PyObject_INIT or PyObject_INIT_VAR for types (collected during running Python tests on 32-bit Linux). Can you produce these statistics for a 64-bit build? Sorry, no.

[Python-Dev] Free lists

2015-05-09 Thread Serhiy Storchaka
Here is a statistic for most called PyObject_INIT or PyObject_INIT_VAR for types (collected during running Python tests on 32-bit Linux). typecount % acc.% builtin_function_or_method 116012007 36.29% 36.29% method