Python: Performance test, ensuring cleanup -


I am performing some performance tests on the messaging structure within Python, and I am trying to ensure that The code is cleaning properly after yourself.

Is there any way to monitor current threads owned by this process? Is there a better way to tell if I am leaking sources?


Just to make sure I see what I am seeing as an answer. I need a script and program that can monitor the live thread of a process.

This function will tell you how many threads are currently alive: Can calculate.

Comments