[LRUG] Middleman slow. Am I missing something?

Jason Lee jlsync at gmail.com
Wed Jul 29 06:40:24 PDT 2015


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

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

Jason.

On Wed, Jul 29, 2015 at 12:53 PM, gvim <gvimrc at gmail.com> wrote:

> On 28/07/2015 17:31, Murray Steele wrote:
>
>> What middleman and ruby versions are you using?  The lrug website runs
>> on middleman nowadays and if I do the a similar command with that app:
>>
>>  All up-to-date:
>
> ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14]
> middleman (3.3.12)
>
> $ time ../bin/middleman build --no-clean -g index.html
>    identical  build/index.html
>
> real    0m2.249s
> user    0m1.947s
> sys     0m0.271s
>
> The system is a 5-year-old quad-core i7 Mac with 16GB RAM running Yosemite.
>
>
> gvim
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20150729/2990d487/attachment-0003.html>


More information about the Chat mailing list