I love ruby-prof, but it unfortunately does not work neither under
MRI Ruby 1.9 nor under JRuby. How can one profile MRI Ruby 1.9
and/or JRuby code?
(I can try backporting my code to Ruby 1.8.7, but itâ€™s additional work
and I doubt profiling for Ruby 1.8.7 will consistently make the code run
better under Ruby 1.9 and JRuby.)