Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Improve build slowness #169
$ bundle exec ruby-prof --printer=call_stack --file=stack.out /usr/local/var/rbenv/versions/2.2.0/bin/jekyll -- build
Cloning the Jekyll repo and building a 3.0.0.pre.beta1 gem from the
Some relevant links:
I'm sure I didn't do a very thorough job with the benchmarks, as I'm not much of a Rubyist. If you've a preferred methodology documented somewhere, I can study up and take another shot. Anecdotally, it seemed like rebuilds were still on the order of 5-6s on my Yosemite machine, even with 3.0.0.pre.beta1; @shawnbot, running Mavericks, was getting O(30s) using 2.5.3.
FWIW, we're also considering changing the architecture of the application in a way that may mitigate the problem (though that's not the only reason for the architectural change).
referenced this issue
Apr 17, 2015
this may or may not help, but I cloned my jekyll repo and started setting it up to use with Grunt. I didn't quite get there, but when I went back to trying to serve with Jekyll it was taking 1m+ for every save. Maybe the added files caused this?
I switched back to the previous version and Jekyll serve is working fine again.