I have joined yet another company with a slow rails test suite (2+ hr to run locally, ~15min to run on a CI server). Maybe there is no other kind. In addition, the OSS project I maintain, which is just ~8mo old, has a test suite that takes ~4 min to run locally. All of this seems excessive and I am not resigned yet.

  1. https://medium.com/appaloosa-store-engineering/tips-to-improve-speed-of-your-test-suite-8418b485205c
  2. https://rollout.io/blog/faster-rails-tests/
  3. https://www.youtube.com/watch?v=q52n4p0wkIs
  4. https://thoughtbot.com/blog/debugging-why-your-specs-have-slowed-down
  5. https://relishapp.com/rspec/rspec-core/docs/configuration/profile-examples
  6. https://github.com/test-prof/test-prof
  7. https://github.com/discourse/discourse/pull/7414
  8. https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/14370
  9. https://github.com/test-prof/test-prof/issues/73
  10. https://medium.com/appaloosa-store-engineering/
  11. https://rollout.io/blog/rails-speed-up-tests/
  12. https://goiabada.blog/improving-spec-speed-in-a-huge-old-rails-app-8f3ab05a33f9
  13. https://kellysutton.com/2020/05/18/speeding-up-a-rails-continuous-integration-pipeline.html
  14. https://jtway.co/speed-up-your-rails-test-suite-by-6-in-1-line-13fedb869ec4
  15. https://chaione.com/blog/increase-performance-rspec-tests/
  16. https://gist.github.com/kddeisz/66f2e7749535f30f868d36021056fd15
  17. https://davidlaprade.github.io/speed-up-rails-tests
  18. https://stackoverflow.com/questions/3663075/speeding-up-rspec-tests-in-a-large-rails-application
  19. https://github.com/sporkrb/spork