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 9030975
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T07:37:18+00:00 2026-06-16T07:37:18+00:00

I have a rails app with about 40 tests using the default rails test:unit.

  • 0

I have a rails app with about 40 tests using the default rails test:unit. The tests themselves run quickly, but there is a delay of about 8 seconds where rake test seems to be doing something in the background, and then the tests are run.

I am using linux to run the tests.

What is happening in this time after rake test is called, but before the tests run? Is there a way to reduce or eliminate this wait time?

Here is a screenr video to illuminate the question. The time in question is 0:04 – 0:11.

  • 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-06-16T07:37:19+00:00Added an answer on June 16, 2026 at 7:37 am

    I think it’s loading the rails environment (running your initializers, loading your models and controllers, etc). I find this to be aggravatingly slow, particularly on Windows machines, and especially on jRuby (which has to start up the JVM as well).

    There are ways to speed up jRuby, listed here, but ruby on Windows still seems to be very slow compared to OSX or linux.

    Edit: just saw your video. You’re waiting less than 10 seconds. Compared to the 20+ seconds I get on Windows machines that’s not so bad.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a very old and poorly written Rails app. There are about 9000
I have a MySQL/Rails app that needs search. Here's some info about the data:
I have rails app which are working perfectly in the local computer. But when
I have a Rails app that is served by Apache and Passenger, using only
I have a rails app set up as an OAuth2 provider (using Doorkeeper). The
I have a rails app that is combining javascript assets using Jammit , and
I have a Rails 2.x app with no tests. I can write out the
I have 3 instances of my rails app on heroku (test, stage and production).
I'm using Heroku and have a Rails app that is stable (production env), so
I have a Rails app running Mongoid on Heroku and I need to set

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.