Forum: Ruby How to profile Ruby 1.9 and/or JRuby code? (ruby-prof works only on MRI Ruby 1.8)

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Cec345a59245af9d06e4438a413f4eb5?d=identicon&s=25 Shot (Piotr Szotkowski) (Guest)
on 2009-05-06 13:57
(Received via mailing list)
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.)

— Shot
Bec38d63650c8912b6ba9b557fb953b9?d=identicon&s=25 Roger Pack (rogerdpack)
on 2009-05-06 21:12
Shot (Piotr Szotkowski) wrote:
> 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?

It appears from the ruby prof log that they *used* to support 1.9 (till
1.9 changed), so I'd probably fork their code and try to fix the compile
errors in it.
GL!
-=r
Bec38d63650c8912b6ba9b557fb953b9?d=identicon&s=25 Roger Pack (rogerdpack)
on 2009-05-07 09:19
Shot (Piotr Szotkowski) wrote:
> 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?

you can use ruby - prof on 1.9 but looks like you'll have to check it
out from SVN trunk to get it to compile :)

svn checkout svn://rubyforge.org/var/svn/ruby-prof

ref:
http://translate.google.com/translate?hl=en&sl=ja&...

re: jruby profile not sure mayb repost to jruby mailing list?
GL!
-=r
This topic is locked and can not be replied to.