<div dir="ltr">On 29 July 2015 at 14:40, Jason Lee <span dir="ltr"><<a href="mailto:jlsync@gmail.com" target="_blank">jlsync@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">you could try something like<div><br></div>$ RUBY_GC_HEAP_INIT_SLOTS=600000 RUBY_GC_HEAP_FREE_SLOTS=600000 RUBY_GC_HEAP_GROWTH_FACTOR=1.25 RUBY_GC_HEAP_GROWTH_MAX_SLOTS=300000 time ../bin/middleman build --no-clean -g index.html<div><br></div></div></blockquote><div>Tried this and it didn’t improve my times at all.  Might have to tune / tweak the figures.  Suggests that GC isn’t the problem. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div></div><div>and/or you could try adding the gem 'erubis' early to your Gemfile and adding it your config.rb.</div></div></blockquote><div><br></div><div>Middleman already uses erubis, well, the version I’m using does anyway.</div><div><br></div><div>Thanks for the help though.</div></div></div></div>