JupiterBroadcasting / JupiterBroadcasting/jupiterbroadcasting.com

dev - slow render of pages in docker dev environment

Open
#349 9 comments 0 reactions 1 assignee Claimed by @ironicbadger View on GitHub
dev help wanted
Dominant language
Sass
Stars
103
Forks
49
Avg merge
3h 42m
Merged PRs (30d)
20

Description

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](https://user-images.githubusercontent.com/7018928/187281805-53b9c905-8b6a-4f86-9eeb-286f2883c866.gif)

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.