[issue33058] Enhance Python's Memory Instrumentation with COUNT_ALLOCS

2018-03-12 Thread Eddie Elizondo
Change by Eddie Elizondo : -- keywords: +patch pull_requests: +5852 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue33058] Enhance Python's Memory Instrumentation with COUNT_ALLOCS

2018-03-12 Thread Eddie Elizondo
Eddie Elizondo added the comment: @serhiy.storchaka tracemalloc can't distinguish between the usage of gc allocs, normal mallocs, and free list reuse. -- ___ Python tracker __

[issue33058] Enhance Python's Memory Instrumentation with COUNT_ALLOCS

2018-03-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could tracemalloc help you? -- nosy: +serhiy.storchaka, vstinner ___ Python tracker ___ ___ Pyth

[issue33058] Enhance Python's Memory Instrumentation with COUNT_ALLOCS

2018-03-12 Thread Eddie Elizondo
Eddie Elizondo added the comment: Currently, Python has very few instrumentation when it comes to the types of allocations that it's doing. For instance, we currently can't identify how many times an object uses free lists vs actual mallocs. Currently, there's a special build which can be use

[issue33058] Enhance Python's Memory Instrumentation with COUNT_ALLOCS

2018-03-12 Thread Eddie Elizondo
New submission from Eddie Elizondo : [WIP] -- title: [WIP] Enhance Python's Memory Instrumentation with COUNT_ALLCOS -> Enhance Python's Memory Instrumentation with COUNT_ALLOCS ___ Python tracker ___