Memory profiler #27

Open
wants to merge 6 commits into
from

Conversation

Projects
None yet
3 participants
@evoloshchuk
Contributor

evoloshchuk commented Apr 17, 2012

New panel for memory debugging using Pympler. Disabled by default, slows down execution.

New config variable:
DEBUG_TB_PROFILER_MEMORY_ENABLED - enables memory profiling, Disabled by default.

@mgood

This comment has been minimized.

Show comment Hide comment
@mgood

mgood Apr 17, 2012

Owner

Thanks for working on this. I have been working on some local experiments visualizing the object allocation growth and was using objgraph for a couple things. Let me see how Pympler and objgraph compare. It seems like there's some overlap, so I want to see if one of the libraries is sufficient for both uses.

Owner

mgood commented Apr 17, 2012

Thanks for working on this. I have been working on some local experiments visualizing the object allocation growth and was using objgraph for a couple things. Let me see how Pympler and objgraph compare. It seems like there's some overlap, so I want to see if one of the libraries is sufficient for both uses.

@mgood

This comment has been minimized.

Show comment Hide comment
@mgood

mgood May 19, 2012

Owner

Well, the Pympler API looks pretty nice, but the call to tracker.diff() is taking 13 seconds on a really trivial app. Is that comparable to the slow down you were seeing as well? I can't see why it should take that long.

Owner

mgood commented May 19, 2012

Well, the Pympler API looks pretty nice, but the call to tracker.diff() is taking 13 seconds on a really trivial app. Is that comparable to the slow down you were seeing as well? I can't see why it should take that long.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment