Created
October 31, 2010 00:58
-
-
Save technicalpickles/655946 to your computer and use it in GitHub Desktop.
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
$ time rake spec | |
(in thescotchzone) | |
/Users/technicalpickles/.rvm/rubies/ruby-1.9.2-p0/bin/ruby -S bundle exec rspec | |
"./spec/acceptance/home_page_spec.rb" | |
. | |
Finished in 0.23965 seconds | |
1 example, 0 failures | |
real 0m17.173s | |
user 0m12.164s | |
sys 0m2.138s |
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
$ time rake spec | |
(in thescotchzone) | |
/Users/technicalpickles/.rvm/rubies/ree-1.8.7-2010.02/bin/ruby -S bundle exec rs | |
pec "./spec/acceptance/home_page_spec.rb" | |
. | |
Finished in 0.0533 seconds | |
1 example, 0 failures | |
real 0m11.882s | |
user 0m5.240s | |
sys 0m1.406s |
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
# thanks to bryanl's writeup: http://smartic.us/2010/10/27/tune-your-ruby-enterprise-edition-garbage-collection-settings-to-run-tests-faster/ | |
$ export RUBY_HEAP_MIN_SLOTS=1000000 | |
$ export RUBY_HEAP_SLOTS_INCREMENT=1000000 | |
$ export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1 | |
$ export RUBY_GC_MALLOC_LIMIT=1000000000 | |
$ export RUBY_HEAP_FREE_MIN=500000 | |
$ time rake spec | |
(in thescotchzone) | |
/Users/technicalpickles/.rvm/rubies/ree-1.8.7-2010.02/bin/ruby -S bundle exec rspec "./spec/acceptance/home_page_spec.rb" | |
. | |
Finished in 0.03528 seconds | |
1 example, 0 failures | |
real 0m6.272s | |
user 0m4.428s | |
sys 0m1.456s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment