Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6713545
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:23:36+00:00 2026-05-26T08:23:36+00:00

I want to do a performance test for my rails 3 app and I

  • 0

I want to do a performance test for my rails 3 app and I did a try according to the rails online guide

rake test:profile

and it gave some output as:

Specify ruby-prof as application's 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 guide, 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

and also some log files produced in app’s tmp/performance dir, which doesn’t exist in my case.

The performance test is the generated sample test, browsing_test.rb, in my app’s test\performance dir:

require 'test_helper'
require 'rails/performance_test_help'

# Profiling results for each test method are written to tmp/performance.
class BrowsingTest < ActionDispatch::PerformanceTest
  def test_homepage
    get '/'
  end
end

And my rails version is 3.0.10. Can anyone give me some tips or hints?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T08:23:37+00:00Added an answer on May 26, 2026 at 8:23 am

    Had the exact same issue, and solved it by running

    rvm install 1.9.2-p290 --patch gcdata # Make sure you have the same patch version
    

    (note: not sure how much that step helped since I had an error, but since it’s part of what I did…)

    Adding to my gemfile

    gem 'ruby-prof', :git => 'git://github.com/wycats/ruby-prof.git'
    gem 'test-unit'
    

    And of course running

    bundle install
    

    Some reading that helped me

    • http://rubylearning.com/blog/2011/08/14/performance-testing-rails-applications-how-to/
    • https://rails.lighthouseapp.com/projects/8994/tickets/4171-fresh-rails-3-app-cannot-run-performance-tests
    • http://guides.rubyonrails.org/performance_testing.html#installing-gc-patched-mri
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some performance test results on the database, and what I want to
I want to know if there is any free tool to test the performance
I want to test the performance variations that may happen if memory is allocated
I want to test performance (request per sec) of haskell warp http server. I
I want to conduct a stress and performance test on the front-end of my
I would like to add some automated performance test to my Objective-C application. (This
Want to write a typing test application (GUI, windows). Is simple terms. app shows
I have a class that does some time-consuming calculations. I'm trying to performance test
I want to test the performance improvement that I could get by using Google's
I have a search engine and I want to test its performance. I want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.