Last active
December 28, 2015 03:58
-
-
Save danielfone/7438461 to your computer and use it in GitHub Desktop.
Spec times vs Rails initialisation times
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ruby 1.9.3 | |
| # rails (3.2.15) | |
| $ time rspec spec/lib/label_as_csv_spec.rb | |
| .......................... | |
| Finished in 0.38397 seconds | |
| 26 examples, 0 failures | |
| Randomized with seed 17361 | |
| real 0m8.349s | |
| user 0m7.301s | |
| sys 0m1.015s | |
| specs: 0.3 seconds | |
| total: 8.3 seconds! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ruby 2.0.0 | |
| # gem 'rails', '4.0.1' | |
| $ time rspec spec/lib/message_publisher_spec.rb | |
| ...... | |
| Finished in 0.02812 seconds | |
| 6 examples, 0 failures | |
| Randomized with seed 5269 | |
| real 0m3.024s | |
| user 0m2.353s | |
| sys 0m0.642s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ruby 2.0.0 | |
| # gem 'rails', '3.2.13' | |
| $ time bundle exec rspec spec/helpers/entries_helper_spec.rb | |
| ... | |
| Finished in 0.03195 seconds | |
| 3 examples, 0 failures | |
| Randomized with seed 53715 | |
| real 0m2.044s | |
| user 0m1.673s | |
| sys 0m0.358s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ruby 1.9.2 | |
| # gem 'rails', '3.2.13' | |
| $ time rspec spec/helpers/application_helper_spec.rb | |
| ........ | |
| Finished in 0.55823 seconds | |
| 8 examples, 0 failures | |
| real 0m9.180s | |
| user 0m7.737s | |
| sys 0m1.356s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment