Login  Register

Memory Profiler

Posted by steven.f.lee on Dec 15, 2009; 5:50pm
URL: http://imagej.273.s1.nabble.com/Memory-Profiler-tp3690095.html

Hey All

I'm trying to optimise a macro I've written for speed.

I was wondering whether there's any function/plugin that will allow me to profile how long each line of code is taking (relative to the others) so that I can diagnose the 'memory hungry' bits.

Obviously I know of the "Monitor Memory" function which reports the total memory used, but I would like a breakdown of which lines of code are using what memory. (Similar functions exist in MATLAB).

Thanks for any help!

Best, Steve