Note that there are some explanatory texts on larger screens.

plurals
  1. PORails 3.0.12 Performance test issues
    primarykey
    data
    text
    <p>I'm trying to run benchmark and performance tests and I'm not getting the metrics displaying...</p> <p>ruby -v:</p> <p><code>ruby 1.9.2p320 (2012-04-20 revision 35421) [x86_64-linux]</code></p> <p>rvm list:</p> <p><code>=&gt; ruby-1.9.2-p320-perf [ x86_64 ]</code></p> <p>the result of running <code>rake test:profile</code>:</p> <pre><code>BrowsingTest#test_homepage (130 ms warmup) process_time: 18446744073.71 sec memory: unsupported objects: unsupported BrowsingTest#test_intel_companies_newstats (34 ms warmup) process_time: 26 ms memory: unsupported objects: unsupported </code></pre> <p>and running <code>rake test:benchmark</code></p> <pre><code>BrowsingTest#test_homepage (103 ms warmup) wall_time: 23 ms memory: 0.00 KB objects: 0 gc_runs: 0 gc_time: 0.00 ms BrowsingTest#test_intel_companies_newstats (31 ms warmup) wall_time: 9 ms memory: 0.00 KB objects: 0 gc_runs: 0 gc_time: 0.00 ms </code></pre> <p>my gem file</p> <pre><code>group :test do gem 'capybara' # for performance tests gem 'ruby-prof', :git =&gt; 'git://github.com/wycats/ruby-prof.git' gem 'test-unit' end </code></pre> <p>When I tried to run:</p> <p><code>rvm install 1.9.2 --patch gcdata --name perf</code></p> <p>I got:</p> <pre><code>Installing Ruby from source to: /home/victor/.rvm/rubies/ruby-1.9.2-p320-perf, this may take a while depending on your cpu(s)... ruby-1.9.2-p320-perf - #fetching ruby-1.9.2-p320-perf - #extracting ruby-1.9.2-p320 to /home/victor/.rvm/src/ruby-1.9.2-p320-perf ruby-1.9.2-p320-perf - #extracted to /home/victor/.rvm/src/ruby-1.9.2-p320-perf Patch 'gcdata' not found. </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload