N/ NIFT LABS

Experiment 02 / build architecture

From source files
to 10,000 pages.

A controlled throughput experiment in four build systems. Minimal content, tool-native sources, checked routes and explicit full/incremental boundaries.

10,000 minimal pagesNift · Hugo · Astro · VitePress4 vCPUs / Nift −1 / Hugo default5 samples + 1 warmup
01 / Fresh-fixture full
BUILD START / 0120s / BUILD END
Nift
1.437s
Hugo
2.167s
Astro
91.972s
VitePress
116.4s
02 / Warm full
BUILD START / 0120s / BUILD END
Nift
1.069s
Hugo
2.189s
Astro
94.637s
VitePress
110.1s

Zero-origin 0–120s lanes · medians · shared dependencies/cache prepared. Minimal-page throughput, not a real-site ranking. State and fairness boundaries ↓

03 / Nift changed inputNo-op0.388sOne leaf0.379sShared template1.383s

Nift-only production iteration; no competitor incremental/HMR comparison. Byte equality with full recomputation is checked.

01 / prepared outside timingSource corpus

100 → 1,000 → 10,000 title/heading/body pages.

02 / timedBuild system

Fresh application state or warm full build; all four vCPUs.

03 / validated afterwardsRendered output

Exact routes, titles, headings and body content.

Current released Nift v4.13.0 vs the measured competitor set. Series 20261130-v4130-allcore, measured 2026-11-30 on fresh g6-standard-4 Linode hosts. Runtime 2.0 is the default for script files; website builds use the ordinary Nift build path, not the VM. Canonical raw evidence, identity, machine/tool versions and retained samples.

10,000-page corpus

Time and memory, with boundaries attached.

Incremental peak memory

Memory for changed-input production publications, separate from full-build memory and elapsed time. Linear bars start at zero; exact values are shown in MiB.

Kernel waited-child high-water RSS; not aggregate simultaneous process-tree RSS
020 MiB

100 pages / no-op

Nift6.1 MiB

100 pages / one-page

Nift7.5 MiB

100 pages / shared-template

Nift7.6 MiB

1,000 pages / no-op

Nift6.4 MiB

1,000 pages / one-page

Nift7.9 MiB

1,000 pages / shared-template

Nift8.5 MiB

10,000 pages / no-op

Nift11.1 MiB

10,000 pages / one-page

Nift12.5 MiB

10,000 pages / shared-template

Nift18.9 MiB

100 pages / explicit target

Nift7.6 MiB

1,000 pages / explicit target

Nift7.9 MiB

10,000 pages / explicit target

Nift12.5 MiB

Five measured samples per cell: median [min–max]. All-core same-host v4.13.0; explicit targets retain a separate serial cohort. No competitor incremental/HMR comparison. Full case tables and evidence below retain the other scopes and workloads.

At 10,000 pages, Nift’s fresh-fixture full-build median was 1.437 s and Hugo’s was 2.167 s. Astro and VitePress were 91.972 s and 116.4 s. These are observations for minimal pages, with each system’s build machinery included.

10,000 pages; fresh fixture with shared dependencies/cache, 5 measured builds per cell
GeneratorFresh sWarm full sFresh RSS MiBWarm RSS MiB
Nift1.4371.06917.75817.758
Hugo2.1672.189236.5243.1
Astro91.97294.6371,572.71,546.7
VitePress116.4110.12,520.12,486.1
Generated-page throughput, not equal output volume or a universal SSG ranking. Astro and VitePress retain hydration/assets and can emit far more bytes than Nift or Hugo; output volume was not normalized. Real-site migration reports answer different questions.
10,000 pages / all-core full builds. Median build time (s). Zero-based axis.
10,000 pages / all-core full builds. Zero-based scale. SVG · PNG. Exact values appear in the accompanying tables.
Logarithmic corpus scaling curves: current all-core full and Nift incremental builds on the left; explicit one-page targeted builds and their fresh full reference in a separate serial cohort on the same host on the right.
Three measured corpus sizes; both axes use logarithmic scales. Full-build fixtures retain shared dependencies/cache. All curves use the same four-vCPU host. Explicit targets use a separate serial cohort with their own full-build reference; samples are never pooled. SVG · PNG.
CORPUS SCALE

The cost of more pages

Median seconds; shared dependencies/cache prepared; three measured sizes, fresh and warm full
PagesBoundaryNiftHugoAstroVitePress
100Fresh fixture0.0230.1212.2333.539
100Warm full0.0160.1001.8943.283
1,000Fresh fixture0.1370.2756.4669.838
1,000Warm full0.1150.2606.79710.301
10,000Fresh fixture1.4372.16791.972116.4
10,000Warm full1.0692.18994.637110.1

Three measured points, not a fitted complexity model. Fixture/dependency preparation is outside timing; generated output is produced inside it.

10,000-page memory footprint. Median waited-child RSS (MiB). Logarithmic axis.
10,000-page memory footprint. Logarithmic scale; bar lengths are not proportional to values. SVG · PNG. Exact values appear in the accompanying tables.
Same host: Nift incremental medians across corpus sizes; 5 measured samples
PagesNo-op sOne changed page sShared template s
1000.0090.0110.021
1,0000.0440.0450.146
10,0000.3880.3791.383
Separate same-host all-core cohort: Nift targeted-build medians; 5 measured samples + 1 warmup
PagesFresh full reference sExplicit page-1 target s
1000.0190.007
1,0000.1510.022
10,0001.4880.196

Explicit target means nift build page-1 after changing that one leaf in an already fully built corpus. Every sample validates the complete corpus, unchanged unrelated pages, and byte equality with a full rebuild. The target cohort uses the same four-vCPU host and worker policy; its separate fresh-full reference is not pooled with the main full-build samples.

CHANGED INPUT

Nift’s development loop

Nift only, 10,000 pages; no cross-generator incremental claim
ChangeMedian sMin–max sRSS MiB
no-op0.3880.370–0.72811.137
one-page0.3790.372–0.47412.508
shared-template1.3831.350–1.40118.887

One independent leaf or the shared template is changed before each run. Every resulting output set must match a full rebuild of that same mutated input byte-for-byte.

Iteration memory / peak RSS

Incremental memory matters alongside elapsed time: a smaller affected build can leave more headroom for concurrent builds, CI jobs and agents on constrained machines. Shared changes and retained worker pools can still use substantial memory; an incremental build is not guaranteed to have a lower peak than a full build. Actual concurrency and total workflow productivity were not benchmarked.

Kernel waited-child high-water RSS; not aggregate simultaneous process-tree RSS. Five measured samples per cell: median [min–max]. All-core same-host v4.13.0; explicit targets retain a separate serial cohort. No competitor incremental/HMR comparison.

Peak RSS in MiB · accepted timings unchanged
CaseNift
100 pages / no-op6.16.0–6.4
100 pages / one-page7.57.4–7.8
100 pages / shared-template7.67.4–7.8
1,000 pages / no-op6.46.4–6.6
1,000 pages / one-page7.97.6–7.9
1,000 pages / shared-template8.58.4–8.6
10,000 pages / no-op11.111.1–11.5
10,000 pages / one-page12.512.5–12.6
10,000 pages / shared-template18.918.8–19.0
100 pages / explicit target7.67.5–7.8
1,000 pages / explicit target7.97.7–8.0
10,000 pages / explicit target12.512.4–12.6

Different scopes and hosts remain separate; full-build memory is not substituted for an edit. Raw measurements, provenance and memory scopes ↗

Equivalence before speed

The output has to contain the page.

Every build checks the complete corpus route set and each page’s exact title/heading and expected body. Hugo raw HTML is enabled; Astro uses file routes; VitePress has a minimal custom theme, retains hydration assets and generates one extra validated 404 page.

Fresh-fixture builds (raw mode application-cold) recreate the entire project fixture; shared pinned node_modules/toolchains and their generated dependency cache remain prepared across the series. Astro/Vite’s shared node_modules/.vite cache is inventoried. This does not measure a complete reset of all application caches. Warm full removes generated output/cache directories while retaining other application build state. Both are full builds; neither is a machine-cold boot. Nift build_threads=-1; Hugo GOMAXPROCS is unset; every timed process can use CPUs 0–3. Full builds invoke nift build --all; normal incremental builds invoke nift build. These command boundaries are distinct.

One warmup plus five measured samples per cell, rotating tool order. C-supervised fork/exec-to-exit latency excludes Python/supervisor launch. Kernel waited-child RSS is a high-water metric, not simultaneous aggregate tree memory; concurrent children/shared pages require a separate accounting boundary.

Old results are incomparable. Corrected Hugo content, minimal VitePress theme, route parity, application state and direct timing change the old workload. Schema-4 used sampled aggregate RSS with a 10 ms polling loop. No historical speedup is claimed.
Exact warm-full cleanup; internal state is tool-specific
GeneratorRemoved before warm fullRetained state
Niftpublic/.nift/ tracking metadata
Hugopublic/, resources/other project state
Astrodist/, .astro/shared node_modules dependency cache
VitePressdocs/.vitepress/dist/, docs/.vitepress/cache/shared node_modules dependency cache

Observation → interpretation

A small build surface is useful evidence.

Different preparation, rendering, bundling and hydration paths appear in these costs, while their features are mostly unused by minimal pages. Nift also has a broader scripting/build role than a conventional SSG. The fixture does not exercise complex Markdown/MDX, assets, component graphs or maintained production websites.

Warm full names the retained-state workflow, not an expected speedup. Different totals do not identify individual planning/rendering/cache phases; those were not profiled. Scaling describes this fixture. Competitor incremental server/HMR behaviour was not measured; comparing it to Nift’s one-shot dependency build requires a new equivalent experiment.

Frozen environment

The same four-vCPU machine for every tool.

One fresh g6-standard-4 Linode in us-east: 4 vCPUs, 8 GiB RAM, Ubuntu 24.04; AMD EPYC 7713 64-Core Processor. All four vCPUs are available to every timed process. Nift build_threads=-1; Hugo GOMAXPROCS is unset; Astro and VitePress use their normal configurations. This is whole-machine all-core throughput, not CPU-0-only timing.

Nift v4.13.0 release binary, SHA-256 c1fa47ecfded618b66c25e788ae02ad29e1ec4d5ae1024f6371eedbb2b1e0a71, source revision a703876c1b56434b8295413997321bb055c225d5. Website builds use the ordinary Nift build path, not Runtime 2.0 scripting. The suite is frozen at 79fd5c0508476f32ab2f5496a288d9f1f7ba07ce.

Pinned tools on the four-vCPU measurement host
ToolRecorded version
NiftNift v4.13.0
Hugohugo v0.170.1-c8b03de9564cf846a3986e879727d638bb96ab33 linux/amd64 BuildDate=2026-11-17T16:38:13Z VendorInfo=gohugoio
Node.jsv24.22.3
Astro7.4.13
VitePress1.6.4

Every job passed exact route, title, heading and body checks; warmups are retained separately. Fresh/warm full and Nift incremental state boundaries are not pooled with earlier campaigns.

Run identity · Machine and tool versions · 100-page raw samples · 1,000-page raw samples · 10,000-page raw samples.

Reproduce / scrutinise

Every new observation is retained.

100-page raw samples · 1,000-page raw samples · 10,000-page raw samples. Historical development campaigns are not part of this public dataset.

Practitioner judgement / AI-DX

Choose the workflow as well as the build time.

For a human-authored existing Hugo/theme estate, I would stay with Hugo when its conventions already fit. For a new human-plus-agent maintained site, an agent-primary site or a mixed procedural publishing project, I would choose Nift when its APIs and explicit tracking fit the requirements. These are qualitative choices, not measured authoring success rates or a universal platform ranking.

Explicit source/output ownership, template dependencies, named targets and .f helper policy can make bounded agent edits easier to inspect. Familiarity to humans and safe agent reasoning are different questions. The measured incremental path supports practical iteration; the frozen harness checked complete routes, intended contents and full-rebuild parity. Those harness checks are not general product-native guarantees, and equivalent Hugo incremental/HMR recovery was not measured.

Conclusion

Defensible as minimal-page throughput.

The corrected fixture and output gates support this bounded experiment. Its measurement boundaries should travel with every quoted number; read real-site migration reports for architecture and maintenance tradeoffs.

Nift Benchmarks

Three perspectives on one runtime.