I’m running into trouble trying to do some basic profiling of my app
with RubyProf. I’ve done the usual searching around on Google, and not
found anything. I’ve also tried updating my version of the RubyProf gem,
in case there was any problem with it being out of date.
I’m trying to run the profiler script from within my rails app like so:
Loading Rails…
Using the ruby-prof extension.
/some/rails/app/vendor/rails/railties/lib/commands/performance/profiler.rb:22:
undefined method clock_mode=' for RubyProf:Module (NoMethodError) from script/performance/profiler:3:inrequire’
from script/performance/profiler:3
Looking around at a couple of different rails apps that I have, it seems
that this “clock_mode” method is pretty standard.
‘Wibble.some_action(“someparam”=>“WER243”)’
Looking around at a couple of different rails apps that I have, it seems
that this “clock_mode” method is pretty standard.
‘Wibble.some_action(“someparam”=>“WER243”)’
Looking around at a couple of different rails apps that I have, it seems
that this “clock_mode” method is pretty standard.