I want to run a performance test for my rails 3 application, and I tried according to the rails online rail
rake test:profile
and he gave some result like:
Specify ruby-prof as application dependency in Gemfile to run benchmarks. Loaded suite /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/rake_test_loader Started . Finished in 0.326233 seconds. 1 tests, 0 assertions, 0 failures, 0 errors, 0 skips
But according to the manual, there should be something like:
BrowsingTest#test_homepage (31 ms warmup) wall_time: 6 ms memory: 437.27 KB objects: 5,514 gc_runs: 0 gc_time: 19 ms
as well as some log files created in the tmp / performance dir application that do not exist in my case.
A performance test is a generated test test, browsing_test.rb, in my application test \ performance dir:
require 'test_helper' require 'rails/performance_test_help'
And my rails version is 3.0.10. Can someone give me some tips or hints?
source share