jupiterbroadcasting.com icon indicating copy to clipboard operation
jupiterbroadcasting.com copied to clipboard

dev - slow render of pages in docker dev environment

Open gerbrent opened this issue 2 years ago • 9 comments

Dev testing on my current hardware is rather slow while navigating the website in-browser.

I am using make dev to run a testing environment, navigating the webpages pins my CPU to 100% and must wait several seconds for any new page to load, as in any page that hasn't been previously loaded.

high cpu hugo serve

I suspect the following is relevant: Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender

However, a local dev environment run without docker w the same "Fast Render Mode" via hugo server -D is indeed responsive in comparison.

Disclaimer: I am running this on a Thinkpad X250 = older hardware. Fedora 36

Any thoughts on:

  • Why there is a performance difference?
  • How to improve local testing performance via our default make dev docker environment?

gerbrent avatar Aug 29 '22 19:08 gerbrent