Skip to content

Hugo 0.55 and newer is VERY slow on my site #5942

@xaprb

Description

@xaprb

I've been on vacation all of April and when I returned, I upgraded Hugo to 0.55.5 and it's taking about 13 seconds to build my site that previously built in about 1/10th of that time:

$ hugo server
Building sites … WARN 2019/05/05 18:03:46 Page's .Hugo is deprecated and will be removed in a future release. Use the global hugo function.

                   |  EN   
+------------------+------+
  Pages            | 1476  
  Paginator pages  |  207  
  Non-page files   |  719  
  Static files     | 1068  
  Processed images |    0  
  Aliases          |   88  
  Sitemaps         |    1  
  Cleaned          |    0  

Total in 14163 ms
Watching for changes in /Users/baron/repos/xaprb/xaprb-src/{content,layouts,static,themes}
Watching for config changes in /Users/baron/repos/xaprb/xaprb-src/config.yaml
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
2019-05-05 18:07:41.575 -0400
Source changed "/Users/baron/repos/xaprb/xaprb-src/content/blog/mighty-spotify-music-player-ipod-shuffle.md": WRITE
WARN 2019/05/05 18:07:41 Page's .Hugo is deprecated and will be removed in a future release. Use the global hugo function.
Total in 13234 ms

I used to be able to edit my site with hugo server and see changes almost interactively.

I have not isolated the change to a particular version but it's probably something in the last 2 months.

My site is at github.com/xaprb/xaprb-src for reproduction.

I'm running Hugo on a MacBook Pro (see image).

Screen Shot 2019-05-05 at 6 06 48 PM

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions