nanoc: Major performance regression 3.7.4 -> 3.7.5 (18 seconds -> 1342 seconds)

On 3.7.1, 3.7.2, 3.7.4 our site generates in under 20 seconds:

Site compiled in 17.92s.

On 3.7.5:

Site compiled in 1341.51s.

(Most of the delay is before the first line of output after Compiling site... is output - I didn’t watch for long enough to see it complete but it didn’t output anything for at least 5 minutes.)

The only difference otherwise in the output is that 3.7.5 outputs a warning about halfway through logging the outputs; but that’s much later than the delay seems to occur.

kramdown warning: No link definition for link ID 'due to change in future' found on line 9

How can I help debug this further?

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 30 (16 by maintainers)

Most upvoted comments

Excellent—seems like a net win in the end! I’ll close this issue now.

FYI, I’m going to apply the patch to Nanoc 4.x only, as the problem also exists there, and Nanoc 4.x is the recommended version to use, and the Nanoc 4 upgrade guide should be easy to follow.