jruby-prof
jruby-prof copied to clipboard
Profiler for JRuby - abandoned: functionality was merged into jruby
hi, We use warbler to package our application into a .war, then deploy the application on jboss. But how can I pass the --debug argument to rails on jboss, then...
I get the following on Ubuntu AMD64: $ RUBYOPT="--debug" rake spec /home/me/.rvm/gems/jruby-1.5.1/gems/jruby-prof-0.1.0/lib/jruby-prof/invocation_set.rb:30:in `add_methods': stack level too deep (SystemStackError) from /home/me/.rvm/rubies/jruby-1.5.1/lib/ruby/site_ruby/shared/builtin/java/java.util.rb:21:in`call' from /home/me/.rvm/rubies/jruby-1.5.1/lib/ruby/site_ruby/shared/builtin/java/java.util.rb:21:in `each' from /home/me/.rvm/gems/jruby-1.5.1/gems/jruby-prof-0.1.0/lib/jruby-prof/invocation_set.rb:29:in`add_methods' from /home/me/.rvm/gems/jruby-1.5.1/gems/jruby-prof-0.1.0/lib/jruby-prof/invocation_set.rb:30:in `add_methods' from /home/me/.rvm/rubies/jruby-1.5.1/lib/ruby/site_ruby/shared/builtin/java/java.util.rb:21:in`call'...
When I trace something like some rails requests, it is possible to see this message: Dumping trace to C:/dev/ruby/old/ruby-benchmark-suite/benchmarks/rails/substruct/profile/call_tree.html for like 30 minutes, the others are quite fast. Thanks! -r
Latest version of jruby-prof is compiled against Java 6. Since JRuby can run on Java 5 you may want to build releases with Java 5 bytecode as a target.
With win32 screenshot [1] jruby-prof seems to fail to time the ffi calls. If expected then please close, but they were quite useful to have profiled in MRI (and do...