
The purpose of this website is to report results from putting Hugo up against Nift on build times. A nearly empty website was created using
Read the repository readme for how to build the
The times in the following table were computed on my 2014 11" i5 Macbook Air with 8gb ram running Ubuntu 18.04 with desktop environment gnome-session-flashback. Snap was used to install
Site Generator | Real | User | Sys |
---|---|---|---|
Hugo v0.80.0 | 4.222s | 11.644s | 1.276s |
Nift v2.3.10 | 1.107s | 1.846s | 1.982s |
Site Generator | Real | User | Sys |
Note that real build time is what really matters when it comes to checking changes and getting back to coding.
Also if you take the build updated functionality of
I have checked the build times with Nift using the same website but with 20k pages and 100k pages, the build times scale linearly (ie. 20k page website build times are double the 10k page website build times, and 100k page website build times are ten times the 10k page website build times). Unfortunately this trend does not seem to scale to millions of pages, though a website with 2 million pages has been successfully built with Nift on an old ~2011 macbook pro where I replaced the memory with 16gb (I'm more worried about my file system crashing going further).
- For 100k pages
build-updated -s sometimes runs in ~2.236s andbuild-all -s sometimes runs in ~12.6s
The in-built scripting language functionstein (f++) for Nift can be extremely fast as well. Here is an