Even on an AMD Ryzen 7 3800X with 8 processors (3.90GHz) and 32GB RAM, the build times of this site can be painfully slow: ~20 seconds. Using Google Gemini to help me debug, Gemini suggested I profile and also enable liquid caching and disable search on local builds.
Here's the profiling results:
(base) PS D:\Git\physcomp> bundle exec jekyll build --profile
Configuration file: D:/Git/physcomp/_config.yml
To use retry middleware with Faraday v2.0+, install faraday-retry gem
Source: D:/Git/physcomp
Destination: D:/Git/physcomp/_site
Incremental build: enabled
Generating...
Remote Theme: Using theme just-the-docs/just-the-docs
Even on an AMD Ryzen 7 3800X with 8 processors (3.90GHz) and 32GB RAM, the build times of this site can be painfully slow: ~20 seconds. Using Google Gemini to help me debug, Gemini suggested I profile and also enable liquid caching and disable search on local builds.
Here's the profiling results:
(base) PS D:\Git\physcomp> bundle exec jekyll build --profile Configuration file: D:/Git/physcomp/_config.yml To use retry middleware with Faraday v2.0+, install
faraday-retry
gem Source: D:/Git/physcomp Destination: D:/Git/physcomp/_site Incremental build: enabled Generating... Remote Theme: Using theme just-the-docs/just-the-docs