nanoc: Big 0-change compilation performance regression
- bundle update
- time bundle exec nanoc compile
- repeat step 2. eleven times, discard first run, and average results.
4.12.10: 47,02s
4.12.9: 108,04s
4.12.8: 5,38s
4.12.7: 5,40s
My site consists of roughly 3500 items.
rbspy nanoc 4.12.10 flamegraph (below) and raw:
rbspy nanoc 4.12.8 flamegraph (below) and raw:
ruby-3.1.1-162.fc36
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 33 (33 by maintainers)
6527edab8c913af01ebf3ec379beeb381e0fc66e improved things significantly! 11,5 seconds!
8,9s
I’ve already been deleting tmp/nanoc when switching versions. 😉
This change had another, possibly unexpected, side-effect. My single-entry-changed compilation time has always been around <del>30s</del> 22s. A bit annoying, but whatever — it’s what I’ve been used to. This change — or maybe the combination of changes — brought it down to 13 seconds.