C
csselo
Hi all
I want to test my python code for memory efficiency in gnu/linux.How
can I do this?
thanks.
I want to test my python code for memory efficiency in gnu/linux.How
can I do this?
thanks.
.Hi all
I want to test my python code for memory efficiency in gnu/linux.How
can I do this?
my general reaction to your question as you've posed it is,
"Don't; concentrate for now on good Python style."
I agree but for monitoring...
I've had good luck with executing a popen to grab and parse output
from ps -Af and pass it your own process ID as the search. It adds
overhead to the cpu exec time but it is much less than 1sec so you
won't see it.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.