I'm looking for some tools that are 1.9.3 compatible that can give me some real world usage numbers on the memory a rails program is taking while being used in development. In a perfect world it would be able to break out that memory usage by class, or some way to tell us what can be tweaked. Please only recommend a tool if you've used it and you endorse it.
I've had success with ruby-prof.
It has various ways of obtaining the profile data and presents a lot of information, which can be a bit overwhelming initially. It really solved a problem for me and helped me remove a major bottleneck from something I was working on (I was calling require
from inside a method, which was being called inside a tight loop... crunch!).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With