ashtadhyayi / ashtadhyayi.github.io

UI for the shared https://github.com/sanskrit/ashtadhyayi repo.
https://ashtadhyayi.github.io/
5 stars 2 forks source link

Reduce build time #9

Closed vvasuki closed 5 years ago

vvasuki commented 5 years ago
$ hugo --templateMetrics
Building sites … 
Template Metrics:

     cumulative       average       maximum         
       duration      duration      duration  count  template
     ----------      --------      --------  -----  --------
  22m41.634653488s   55.456956ms  128.917743ms  24553  vritti/single.html
  20.783364775s   71.666775ms  1.700805102s    290  section/list.html
    4.40102413s      59.748µs   15.944517ms  73659  partials/article-params-card.html
   1.826781766s     6.23475ms  727.709677ms    293  _internal/_default/rss.xml
   1.471338398s      59.208µs    7.762285ms  24850  partials/site-header.html
   669.206068ms      26.929µs    3.343728ms  24850  partials/site-navigation.html
   520.778672ms  520.778672ms  520.778672ms      1  _internal/_default/sitemap.xml
   166.406691ms  166.406691ms  166.406691ms      1  main_sutra_list/index.html
    144.74733ms    48.24911ms   49.252474ms      3  _default/single.html
    98.352377ms   49.176188ms   49.437201ms      2  _default/list.html
    45.395278ms   45.395278ms   45.395278ms      1  404.html
      105.137µs     105.137µs     105.137µs      1  partials/hugo-site-vars-to-js-general.html
       47.769µs      47.769µs      47.769µs      1  partials/site-footer.html

                   |  EN    
+------------------+-------+
  Pages            | 25143  
  Paginator pages  |     0  
  Non-page files   | 18433  
  Static files     |  1960  
  Processed images |     0  
  Aliases          |     0  
  Sitemaps         |     1  
  Cleaned          |     0  

Total in 541680 ms
vvasuki commented 5 years ago

8 hours ago build time was 16 seconds.

5 hours ago build time was 18 second.

Something seems to have gone awry with this build.

vvasuki commented 5 years ago

Not generating vRtti html pages anymore.