Skip to content

Instantly share code, notes, and snippets.

@thilo
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thilo/e1d27980af3618ea1b78 to your computer and use it in GitHub Desktop.
Save thilo/e1d27980af3618ea1b78 to your computer and use it in GitHub Desktop.
GC Tweaks for faster tests for ruby 2.1.x
rvm --create use ruby-2.1.2
export RUBY_GC_HEAP_INIT_SLOTS=1000000
export RUBY_GC_HEAP_FREE_SLOTS=500000
export RUBY_GC_HEAP_GROWTH_FACTOR=1.1
export RUBY_GC_HEAP_GROWTH_MAX_SLOTS=10000000
export RUBY_GC_MALLOC_LIMIT_MAX=500000000
export RUBY_GC_MALLOC_LIMIT_GROWTH_FACTOR=1.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment