It was made apparent to me that many ruby devs either aren’t aware or couldn’t be bothered to tweak their ruby garbage collector settings.
Well, if you are using MRI, please start tweaking your GC settings. Here’s what I use (on my 15” Macbook Pro Retina):
export RUBY_GC_MALLOC_LIMIT=90000000 export RUBY_FREE_MIN=200000
Here’s what we get:
Before After Local: 8m22s 5m52s Travis CI: 10m10s 6m0s Wercker: 8m45s 6m24s
YMMV depending on your system and available RAM.