Last active
August 29, 2015 13:56
-
-
Save pcreux/8809987 to your computer and use it in GitHub Desktop.
Speed up Rails test suite!
This file contains 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
fsync = off | |
synchronous_commit = off | |
full_page_writes = off |
This file contains 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
Install 1.9.3 with perf patch | |
https://gist.github.com/burke/1688857 |
This file contains 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
## Speed up 1.9.3 | |
export RUBY_GC_MALLOC_LIMIT=100000000 | |
export RUBY_HEAP_MIN_SLOTS=40000 | |
export RUBY_FREE_MIN=500000 | |
## Speed up 2.1.0 | |
export RUBY_GC_MALLOC_LIMIT=100000000 | |
export RUBY_GC_HEAP_INIT_SLOTS=40000 | |
export RUBY_GC_HEAP_FREE_SLOTS=500000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have this in my
.gemrc
, mainly to not install the rdoc