An open API service indexing awesome lists of open source software.

https://github.com/dougal/rspec_performance_regression_demo_minimal

This is a demo application designed to show a performance regression in Rspec-rails 3.4.1.
https://github.com/dougal/rspec_performance_regression_demo_minimal

Last synced: 6 months ago
JSON representation

This is a demo application designed to show a performance regression in Rspec-rails 3.4.1.

Awesome Lists containing this project

README

          

README
======

This is a demo application designed to show a performance regression in
Rspec-rails 3.4.1.

It uses a single controller action which would render a template under normal
operation. A single spec is run for this, 1000 times, to simulate a much larger
test suite.

Setup
-----

bundle install # Installs 3.4.0 by default.
bundle exec rake db:migrate

Running Specs
-------------

bundle exec rspec spec/controllers

Switching Rspec-Rails version
-----------------------------

1. Comment out the rspec-rails 3.4.0 line in the Gemfile.
2. Uncomment the rspec-rails 3.4.1 line in the Gemfile.
3. Run `bundle install`.