[LRUG] Middleman slow. Am I missing something?

Murray Steele murray.steele at gmail.com
Wed Jul 29 06:57:11 PDT 2015


On 29 July 2015 at 14:40, Jason Lee <jlsync at gmail.com> wrote:

> you could try something like
>
> $ 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
>
> 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.


> and/or you could try adding the gem 'erubis' early to your Gemfile and
> adding it your config.rb.
>

Middleman already uses erubis, well, the version I’m using does anyway.

Thanks for the help though.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20150729/0ea05a9a/attachment-0003.html>


More information about the Chat mailing list