I want to profile the execution of a program to see what in particular is slowing it down - whether it hits a memory cap or if my CPU is not powerful enough.
Activity Monitor (the one that comes with OS X) is great, but I don't think it can record data (i.e. I think you can only see current RAM and CPU usage, not usage from the past).
I want the usage broken down by process if possible, so I can control for other things spiking in usage.
Do you know of any application that has this functionality?