In 2010 I set up this blog on Tumblr mostly due to the ease of publishing and not having to worry about the hosting. I also went through two…
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.