18 Jul 16:04
does ruby-prof actually work?
From: phil <phil@...>
Subject: does ruby-prof actually work?
Newsgroups: gmane.comp.lang.ruby.rails
Date: 2008-07-18 14:06:36 GMT
Subject: does ruby-prof actually work?
Newsgroups: gmane.comp.lang.ruby.rails
Date: 2008-07-18 14:06:36 GMT
I am running rails 2.1 and cannot get ruby-prof, or more acurately, the script/performance/request to work. Installing ruby-prof I get this: sudo gem install ruby-prof Building native extensions. This could take a while... Successfully installed ruby-prof-0.6.0 1 gem installed Installing ri documentation for ruby-prof-0.6.0... No definition for prof_get_cpu_frequency No definition for prof_set_cpu_frequency Installing RDoc documentation for ruby-prof-0.6.0... No definition for prof_get_cpu_frequency No definition for prof_set_cpu_frequency Which looks like it is having problems in the docs, so ok. If I run: script/performance/request lib/prof_scripts/store_browse_profiler.rb I get: Warming up once 3.80 sec, 1 requests, 0 req/sec Profiling 100x `gem install ruby-prof` to use the profiler but doing a gem list has: ruby-prof (0.6.0) I can run ruby-prof from the command line: ruby-prof lib/prof_scripts/store_browse_profiler.rb But it (obviously) doesn't understand the file as it has a 'get' in it. Help! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@... To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@... For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
RSS Feed