(Sorry for the late reply, I was/am sick.)
Yes, the problem is actually present in the last release, but with testing I found that it happened in 0.62.1 for the first time for me.
Content files trigger a ‘Fast Render’ that as quick as before on 0.62.1 (< 200ms) so no problem there. But the templates do take more time.
C:\site>hugo621 server -DF
Building sites …
| EN
+------------------+------+
Pages | 485
Paginator pages | 0
Non-page files | 0
Static files | 1150
Processed images | 0
Aliases | 0
Sitemaps | 1
Cleaned | 0
Built in 9110 ms
Watching for changes in C:\site\{content,data,static,themes}
Watching for config changes in C:\site\config\_default
Environment: "development"
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop
Change detected, rebuilding site.
2020-01-14 17:06:14.557 +0100
Template added "C:\\site\\themes\\theme2018\\layouts\\partials\\header.html": WRITE
Total in 4587 ms
Change detected, rebuilding site.
2020-01-14 17:06:21.558 +0100
Template added "C:\\site\\themes\\theme2018\\layouts\\partials\\header.html": WRITE
Total in 4596 ms
Change detected, rebuilding site.
2020-01-14 17:06:28.557 +0100
Template added "C:\\site\\themes\\theme2018\\layouts\\partials\\header.html": WRITE
Total in 5365 ms
Change detected, rebuilding site.
2020-01-14 17:06:36.557 +0100
Template added "C:\\site\\themes\\theme2018\\layouts\\partials\\header.html": WRITE
Total in 4853 ms
Change detected, rebuilding site.
2020-01-14 17:06:45.557 +0100
Source changed "C:\\site\\content\\post.md": WRITE
Total in 185 ms
Change detected, rebuilding site.
2020-01-14 17:06:52.557 +0100
Source changed "C:\\site\\content\\post.md": WRITE
Total in 152 ms
Change detected, rebuilding site.
2020-01-14 17:06:57.557 +0100
Source changed "C:\\site\\content\\post.md": WRITE
Total in 186 ms
Change detected, rebuilding site.
2020-01-14 17:07:02.558 +0100
Source changed "C:\\site\\content\\post.md": WRITE
Total in 176 ms
Verbose output
In case it helps, I also collected output with the --templateMetrics
flag enabled. From that output I can see that a Hugo 0.62.1 fast render rebuild affects a lot more files than 0.62.0 did.
Here’s the good situation with 0.62.0:
C:\site>hugo620 server -DF --verbose --templateMetrics
INFO 2020/01/10 11:49:40 No translation bundle found for default language "en"
INFO 2020/01/10 11:49:40 Translation func for language en not found, use default.
INFO 2020/01/10 11:49:40 i18n not initialized; if you need string translations, check that you have a bundle in /i18n that matches the site language or the default language.
INFO 2020/01/10 11:49:40 Using config file:
Building sites … INFO 2020/01/10 11:49:40 removing all files from destination that don't exist in static dirs
INFO 2020/01/10 11:49:40 syncing static files to C:\site\
Template Metrics:
cumulative average maximum
duration duration duration count template
---------- -------- -------- ----- --------
9.7015542s 23.836742ms 152.0087ms 407 _default/single.html
4.1602379s 832.04758ms 2.7211557s 5 _default/section.html
3.3521921s 7.178141ms 39.0022ms 467 partials/footer.html
3.0661739s 6.565682ms 143.0081ms 467 partials/header.html
1.3430769s 27.980768ms 250.0143ms 48 _default/subsection.html
965.0552ms 965.0552ms 965.0552ms 1 custom/algolia-index.json
910.0521ms 713.206µs 42.0024ms 1276 shortcodes/img.html
624.0347ms 77.279µs 23.0013ms 8075 _default/_markup/render-link.html
479.0278ms 1.591454ms 9.0005ms 301 _internal/shortcodes/highlight.html
168.0099ms 361.311µs 1.0001ms 465 partials/breadcrumbs.html
128.0073ms 25.60146ms 44.0025ms 5 _default/page.html
89.0051ms 89.0051ms 89.0051ms 1 sitemap.xml
67.0045ms 149.563µs 6.0003ms 448 shortcodes/note.html
66.0032ms 162.569µs 1.0001ms 406 shortcodes/references.html
44.0025ms 44.0025ms 44.0025ms 1 index.html
40.0023ms 305.361µs 1.0001ms 131 shortcodes/read-more.html
33.0019ms 221.489µs 2.0002ms 149 shortcodes/tip.html
20.0011ms 4.00022ms 4.0003ms 5 custom/atom-feed.xml
20.0011ms 4.00022ms 5.0003ms 5 custom/rss-feed.xml
17.001ms 3.4002ms 4.0003ms 5 custom/json-feed.json
4.0002ms 4.0002ms 4.0002ms 1 404.html
| EN
+------------------+------+
Pages | 483
Paginator pages | 0
Non-page files | 0
Static files | 1149
Processed images | 0
Aliases | 0
Sitemaps | 1
Cleaned | 0
Built in 5731 ms
Watching for changes in C:\site\{content,data,static,themes}
Watching for config changes in C:\site\config\_default
Environment: "development"
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop
INFO 2020/01/10 11:50:07 Received System Events: ["C:\\site\\themes\\theme2018\\layouts\\partials\\header.html": WRITE "C:\\site\\themes\\theme2018\\layouts\\partials\\header.html": WRITE]
Change detected, rebuilding site.
2020-01-10 11:50:07.160 +0100
Template changed "C:\\site\\themes\\theme2018\\layouts\\partials\\header.html": WRITE
INFO 2020/01/10 11:50:07 No translation bundle found for default language "en"
INFO 2020/01/10 11:50:07 Translation func for language en not found, use default.
INFO 2020/01/10 11:50:07 i18n not initialized; if you need string translations, check that you have a bundle in /i18n that matches the site language or the default language.
Template Metrics:
cumulative average maximum
duration duration duration count template
---------- -------- -------- ----- --------
92.0053ms 92.0053ms 92.0053ms 1 sitemap.xml
13.0007ms 6.50035ms 9.0005ms 2 partials/footer.html
12.0006ms 12.0006ms 12.0006ms 1 index.html
5.0003ms 5.0003ms 5.0003ms 1 404.html
1ms 500µs 1ms 2 partials/header.html
Total in 189 ms
INFO 2020/01/10 11:50:13 Received System Events: ["C:\\site\\themes\\theme2018\\layouts\\partials\\header.html": WRITE "C:\\site\\themes\\theme2018\\layouts\\partials\\header.html": WRITE]
Change detected, rebuilding site.
2020-01-10 11:50:13.161 +0100
Template changed "C:\\site\\themes\\theme2018\\layouts\\partials\\header.html": WRITE
INFO 2020/01/10 11:50:13 No translation bundle found for default language "en"
INFO 2020/01/10 11:50:13 Translation func for language en not found, use default.
INFO 2020/01/10 11:50:13 i18n not initialized; if you need string translations, check that you have a bundle in /i18n that matches the site language or the default language.
Template Metrics:
cumulative average maximum
duration duration duration count template
---------- -------- -------- ----- --------
89.0051ms 89.0051ms 89.0051ms 1 sitemap.xml
13.0007ms 13.0007ms 13.0007ms 1 index.html
12.0007ms 6.00035ms 9.0005ms 2 partials/footer.html
4.0002ms 4.0002ms 4.0002ms 1 404.html
3.0001ms 1.50005ms 2.0001ms 2 partials/header.html
Total in 181 ms
INFO 2020/01/10 11:50:19 Received System Events: ["C:\\site\\themes\\theme2018\\layouts\\partials\\header.html": WRITE "C:\\site\\themes\\theme2018\\layouts\\partials\\header.html": WRITE]
Change detected, rebuilding site.
2020-01-10 11:50:19.160 +0100
Template changed "C:\\site\\themes\\theme2018\\layouts\\partials\\header.html": WRITE
INFO 2020/01/10 11:50:19 No translation bundle found for default language "en"
INFO 2020/01/10 11:50:19 Translation func for language en not found, use default.
INFO 2020/01/10 11:50:19 i18n not initialized; if you need string translations, check that you have a bundle in /i18n that matches the site language or the default language.
Template Metrics:
cumulative average maximum
duration duration duration count template
---------- -------- -------- ----- --------
91.0052ms 91.0052ms 91.0052ms 1 sitemap.xml
12.0007ms 6.00035ms 9.0005ms 2 partials/footer.html
12.0007ms 12.0007ms 12.0007ms 1 index.html
4.0002ms 4.0002ms 4.0002ms 1 404.html
2.0001ms 1.00005ms 1.0001ms 2 partials/header.html
Total in 163 ms
This is the ‘bad’ situation with 0.62.1:
C:\site>hugo621 server -DF --verbose --templateMetrics
INFO 2020/01/10 11:51:03 No translation bundle found for default language "en"
INFO 2020/01/10 11:51:03 Translation func for language en not found, use default.
INFO 2020/01/10 11:51:03 i18n not initialized; if you need string translations, check that you have a bundle in /i18n that matches the site language or the default language.
INFO 2020/01/10 11:51:03 Using config file:
Building sites … INFO 2020/01/10 11:51:03 removing all files from destination that don't exist in static dirs
INFO 2020/01/10 11:51:03 syncing static files to C:\site\
Template Metrics:
cumulative average maximum
duration duration duration count template
---------- -------- -------- ----- --------
9.6685519s 23.755655ms 159.009ms 407 _default/single.html
4.1352366s 827.04732ms 2.6711528s 5 _default/section.html
3.3221897s 7.113896ms 77.0044ms 467 partials/footer.html
2.9631675s 6.345112ms 149.0085ms 467 partials/header.html
1.3280757s 27.668243ms 212.0121ms 48 _default/subsection.html
992.0567ms 992.0567ms 992.0567ms 1 custom/algolia-index.json
701.0407ms 549.404µs 32.0018ms 1276 shortcodes/img.html
626.0363ms 77.527µs 23.0013ms 8075 _default/_markup/render-link.html
482.028ms 1.601421ms 25.0014ms 301 _internal/shortcodes/highlight.html
194.0124ms 417.23µs 39.0023ms 465 partials/breadcrumbs.html
94.0054ms 94.0054ms 94.0054ms 1 sitemap.xml
90.0052ms 18.00104ms 33.0019ms 5 _default/page.html
77.0045ms 189.666µs 14.0008ms 406 shortcodes/references.html
73.0036ms 162.954µs 2.0001ms 448 shortcodes/note.html
67.004ms 511.48µs 27.0016ms 131 shortcodes/read-more.html
39.0022ms 39.0022ms 39.0022ms 1 index.html
27.0017ms 5.40034ms 6.0004ms 5 custom/atom-feed.xml
26.0015ms 174.506µs 3.0001ms 149 shortcodes/tip.html
23.0014ms 4.60028ms 6.0004ms 5 custom/rss-feed.xml
21.0012ms 4.20024ms 5.0003ms 5 custom/json-feed.json
4.0002ms 4.0002ms 4.0002ms 1 404.html
| EN
+------------------+------+
Pages | 483
Paginator pages | 0
Non-page files | 0
Static files | 1149
Processed images | 0
Aliases | 0
Sitemaps | 1
Cleaned | 0
Built in 5789 ms
Watching for changes in C:\site\{content,data,static,themes}
Watching for config changes in C:\site\config\_default
Environment: "development"
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop
INFO 2020/01/10 11:51:13 Received System Events: ["C:\\site\\themes\\theme2018\\layouts\\partials\\header.html": WRITE "C:\\site\\themes\\theme2018\\layouts\\partials\\header.html": WRITE]
Change detected, rebuilding site.
2020-01-10 11:51:13.089 +0100
Template added "C:\\site\\themes\\theme2018\\layouts\\partials\\header.html": WRITE
INFO 2020/01/10 11:51:13 No translation bundle found for default language "en"
INFO 2020/01/10 11:51:13 Translation func for language en not found, use default.
INFO 2020/01/10 11:51:13 i18n not initialized; if you need string translations, check that you have a bundle in /i18n that matches the site language or the default language.
Template Metrics:
cumulative average maximum
duration duration duration count template
---------- -------- -------- ----- --------
4.2712443s 4.2712443s 4.2712443s 1 index.html
4.2672441s 2.13362205s 4.2642439s 2 partials/footer.html
432.0252ms 339.109µs 33.0018ms 1274 shortcodes/img.html
422.0241ms 52.373µs 1.0001ms 8058 _default/_markup/render-link.html
321.0182ms 1.066505ms 5.0003ms 301 _internal/shortcodes/highlight.html
92.0053ms 92.0053ms 92.0053ms 1 sitemap.xml
66.0037ms 162.57µs 1.0001ms 406 shortcodes/references.html
60.004ms 133.937µs 1.0001ms 448 shortcodes/note.html
31.0016ms 236.653µs 1.0001ms 131 shortcodes/read-more.html
13.0009ms 87.254µs 1.0001ms 149 shortcodes/tip.html
4.0002ms 4.0002ms 4.0002ms 1 404.html
3.0002ms 1.5001ms 3.0002ms 2 partials/header.html
Total in 4437 ms
INFO 2020/01/10 11:51:26 Received System Events: ["C:\\site\\themes\\theme2018\\layouts\\partials\\header.html": WRITE "C:\\site\\themes\\theme2018\\layouts\\partials\\header.html": WRITE]
Change detected, rebuilding site.
2020-01-10 11:51:26.091 +0100
Template added "C:\\site\\themes\\theme2018\\layouts\\partials\\header.html": WRITE
INFO 2020/01/10 11:51:26 No translation bundle found for default language "en"
INFO 2020/01/10 11:51:26 Translation func for language en not found, use default.
INFO 2020/01/10 11:51:26 i18n not initialized; if you need string translations, check that you have a bundle in /i18n that matches the site language or the default language.
Template Metrics:
cumulative average maximum
duration duration duration count template
---------- -------- -------- ----- --------
4.4812564s 2.2406282s 4.4762561s 2 partials/footer.html
4.4812563s 4.4812563s 4.4812563s 1 index.html
476.0273ms 373.647µs 29.0016ms 1274 shortcodes/img.html
436.0245ms 54.11µs 66.0038ms 8058 _default/_markup/render-link.html
346.0198ms 1.149567ms 6.0004ms 301 _internal/shortcodes/highlight.html
95.0055ms 95.0055ms 95.0055ms 1 sitemap.xml
60.0035ms 147.791µs 1.0001ms 406 shortcodes/references.html
54.0033ms 120.543µs 1.0001ms 448 shortcodes/note.html
30.0015ms 229.019µs 1.0001ms 131 shortcodes/read-more.html
20.0012ms 134.236µs 1.0001ms 149 shortcodes/tip.html
5.0003ms 5.0003ms 5.0003ms 1 404.html
1.0001ms 500.05µs 1.0001ms 2 partials/header.html
Total in 4714 ms
INFO 2020/01/10 11:51:34 Received System Events: ["C:\\site\\themes\\theme2018\\layouts\\partials\\header.html": WRITE "C:\\site\\themes\\theme2018\\layouts\\partials\\header.html": WRITE]
Change detected, rebuilding site.
2020-01-10 11:51:34.090 +0100
Template added "C:\\site\\themes\\theme2018\\layouts\\partials\\header.html": WRITE
INFO 2020/01/10 11:51:34 No translation bundle found for default language "en"
INFO 2020/01/10 11:51:34 Translation func for language en not found, use default.
INFO 2020/01/10 11:51:34 i18n not initialized; if you need string translations, check that you have a bundle in /i18n that matches the site language or the default language.
Template Metrics:
cumulative average maximum
duration duration duration count template
---------- -------- -------- ----- --------
4.3392482s 4.3392482s 4.3392482s 1 index.html
4.3392482s 2.1696241s 4.3352479s 2 partials/footer.html
465.0281ms 57.71µs 1.0001ms 8058 _default/_markup/render-link.html
460.0265ms 361.088µs 35.002ms 1274 shortcodes/img.html
337.0196ms 1.119666ms 5.0003ms 301 _internal/shortcodes/highlight.html
92.0053ms 92.0053ms 92.0053ms 1 sitemap.xml
53.003ms 118.31µs 1.0001ms 448 shortcodes/note.html
51.0026ms 125.622µs 1.0001ms 406 shortcodes/references.html
31.0017ms 236.654µs 1.0001ms 131 shortcodes/read-more.html
21.0009ms 140.945µs 1.0001ms 149 shortcodes/tip.html
5.0003ms 5.0003ms 5.0003ms 1 404.html
2.0001ms 1.00005ms 1.0001ms 2 partials/header.html
Total in 4514 ms
INFO 2020/01/10 11:51:41 Received System Events: ["C:\\site\\themes\\theme2018\\layouts\\partials\\header.html": WRITE "C:\\site\\themes\\theme2018\\layouts\\partials\\header.html": WRITE]
Change detected, rebuilding site.
2020-01-10 11:51:41.091 +0100
Template added "C:\\site\\themes\\theme2018\\layouts\\partials\\header.html": WRITE
INFO 2020/01/10 11:51:41 No translation bundle found for default language "en"
INFO 2020/01/10 11:51:41 Translation func for language en not found, use default.
INFO 2020/01/10 11:51:41 i18n not initialized; if you need string translations, check that you have a bundle in /i18n that matches the site language or the default language.
Template Metrics:
cumulative average maximum
duration duration duration count template
---------- -------- -------- ----- --------
4.7402711s 4.7402711s 4.7402711s 1 index.html
4.7402711s 2.37013555s 4.737271s 2 partials/footer.html
502.0287ms 394.057µs 32.0019ms 1274 shortcodes/img.html
467.0272ms 57.958µs 2.0001ms 8058 _default/_markup/render-link.html
350.0201ms 1.162857ms 6.0004ms 301 _internal/shortcodes/highlight.html
103.0058ms 103.0058ms 103.0058ms 1 sitemap.xml
52.0035ms 116.079µs 1.0001ms 448 shortcodes/note.html
49.0026ms 120.696µs 1.0001ms 406 shortcodes/references.html
29.0014ms 221.384µs 1.0001ms 131 shortcodes/read-more.html
20.0011ms 134.235µs 2.0001ms 149 shortcodes/tip.html
4.0002ms 4.0002ms 4.0002ms 1 404.html
2.0001ms 1.00005ms 1.0001ms 2 partials/header.html
Total in 4932 ms
The repository is private but I put the website itself in this zip file.
I tested again on my side and the issue also happens with the exact site in that zip folder.
Thanks a lot in advance for looking, and let me know if I can provide more information or do more tests.