I have about 15k file markdown. I use hugo --minify output
I get the following result
|   EN
-------------------±--------
Pages            | 124287
Paginator pages  |  12086
Non-page files   |      0
Static files     |      5
Processed images |      0
Aliases          |  54336
Sitemaps         |      1
Cleaned          |      0
Total in 1391936 ms
I run on vps, if I run on PC, the time will double.
Is that really normal, or is it slow?
I use https://themes.gohugo.io//theme/mainroad/
Hugo Static Site Generator v0.73.0 / extended linux / amd64
             
            
              
              
              
            
            
           
          
            
            
              you can use
hugo --templateMetrics --templateMetricsHints
to see the build time of each template as a guide to optimize your template further. more on build performance:
             
            
              
              
              
            
            
           
          
            
            
              I run command hugo --templateMetrics --templateMetricsHints --gc --minify
The results:
Template Metrics:
  cache     cumulative       average       maximum         
potential       duration      duration      duration  count  template
-----     ----------      --------      --------  -----  --------
79 1h32m21.653846004s   67.550664ms  1.762997471s  82037  partials/sidebar.html
100 1h31m39.264787646s   67.033957ms  1.762784808s  82037  partials/widgets/recent.html
0 1h15m10.531196583s   69.542571ms  1.764373518s  64860  _default/list.html
0 18m41.797808432s   71.845639ms  1.478518583s  15614  _default/single.html
0 3m39.06026891s   140.24345ms  715.978316ms   1562  index.html
0 1m6.115190372s     325.386µs   65.520391ms  203190  _default/summary.html
97 47.976784276s     219.268µs   65.435917ms  218804  partials/post_meta.html
0 17.138779748s     208.915µs   78.891846ms  82037  partials/header.html
96 13.856393367s      63.327µs   34.274213ms  218804  partials/post_meta/date.html
0 13.848575758s     254.869µs  2.589769509s  54336  _internal/_default/rss.xml
100 12.769639432s      58.361µs   65.296106ms  218804  partials/post_meta/author.html
0   5.45881533s       66.54µs   38.602749ms  82037  partials/footer.html
100  5.432357019s      66.218µs   49.722017ms  82037  partials/logo.html
45  3.175473835s     203.373µs   36.360392ms  15614  partials/post_tags.html
81  2.166100768s      32.611µs   40.951932ms  66422  partials/pagination.html
100   2.10159756s      25.617µs   32.086429ms  82037  partials/widgets/search.html
100  2.037930692s      24.841µs   28.904626ms  82037  partials/widgets/languages.html
0  1.903548722s  1.903548722s  1.903548722s      1  _internal/_default/sitemap.xml
100  1.879244505s     120.356µs    26.13181ms  15614  partials/authorbox.html
21  1.820628581s     116.602µs   65.904424ms  15614  partials/pager.html
100  1.748369688s      21.311µs   26.081759ms  82037  partials/widgets/categories.html
100  1.661819638s       7.595µs   41.504475ms  218804  partials/post_meta/categories.html
100   1.62296469s      19.783µs   28.217811ms  82037  partials/mathjax.html
0  1.540023654s      28.342µs   20.929505ms  54336  _internal/alias.html
100  1.088919174s       4.976µs    26.20127ms  218804  partials/svg/author.svg
100  1.004101677s        4.59µs   20.218049ms  218721  partials/svg/time.svg
100  813.250772ms       9.913µs   20.218683ms  82037  partials/footer_links.html
100  807.663358ms       9.845µs   44.333467ms  82037  partials/menu.html
100  635.588052ms       7.747µs   13.249863ms  82037  partials/widgets/social.html
100  428.870912ms      27.467µs   17.524338ms  15614  partials/comments.html
60  323.175066ms      20.697µs   10.159707ms  15614  partials/post_toc.html
100   80.920927ms       5.182µs   10.108886ms  15614  partials/svg/tag.svg
0   47.836334ms   47.836334ms   47.836334ms      1  404.html
0      37.294µs      37.294µs      37.294µs      1  css/style.css