I've suddenly gotten very long build times on this project, and I'm not sure what the reason is. It can take upwards of 60 seconds to generate, the lowest it's gone is 20 secs. I've done everything from excluding node_modules
via this issue Jekyll compiling seems WAY too slow, adding --incremental
doesn't make a difference either. I've optimized images, and I've even completely reinstalled Ruby. Below is the result of bundle exec jekyll build --profile
> Configuration file: /Users/lesliebehum/Development/sary/_config.yml
> Source: /Users/lesliebehum/Development/sary
> Destination: /Users/lesliebehum/Development/sary/_site Incremental build: disabled. Enable with --incremental
> Generating...
>
> Filename | Count | Bytes | Time
> --------------------------+-------+--------+------
> _layouts/default.html | 5 | 19.68K | 0.003
> _includes/menu.html | 5 | 7.19K | 0.001 index.html | 1 | 2.62K | 0.000
> _pages/contact.html | 1 | 1.46K | 0.000
> _includes/treatments.html | 1 | 1.32K | 0.000
> _includes/form.html | 1 | 1.34K | 0.000
> _includes/footer.html | 1 | 0.94K | 0.000
>
>
> done in 68.093 seconds. Auto-regeneration: disabled. Use --watch to enable.
It doesn't seem like anything is taking particularly long. I'm working on other Jekyll projects and those are generating at around 1 second, and they're much larger. Any insight on what may be causing this?