我突然在这个项目上得到了很长的构建时间,我不确定原因是什么。生成最多可能需要60秒,而消失的最低时间是20秒。从本期Jekyll compiling seems WAY too slow排除node_modules
到添加--incremental
都无济于事,我已经做了一切。我优化了图像,甚至完全重新安装了Ruby。以下是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.
似乎没有什么事情花费很长时间。我正在从事其他Jekyll项目,这些项目大约在1秒钟内生成,而且它们的规模要大得多。对可能是什么原因有任何见解吗?