Rack::MiniProfiler has been working great for me in identifying performance problems. I’m wondering if there is a way to get profile information outside of the normal web request workflow. Is there any way to do something like the following in the rails console?
MiniProfiler.start("/tmp/profile_info.txt") do # expensive stuff here end
I realize there are other profilers that do this well, but I already have this one in production.