You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(ship-systems): render metrics from content/data/benchmarks.json
Ship Systems section previously held six headline benchmark numbers as
literal strings in the Tera template. They were honest but static, with
no timestamp and no traceability back to the source measurement. This
change replaces them with a Zola load_data call over a new JSON file at
content/data/benchmarks.json, and adds a visible "Last measured" date
line citing the source.
Schema: generated_at, source{repo,commit,workflow_run,notes}, metrics{
label,value,unit} per field. Six metrics today: inference_ns,
search_latency_ms, index_throughput_mibps, graph_footprint_mb,
index_build_100_terms_us, index_build_1000_terms_ms. Adding a metric is
append-only.
The JSON file is hand-authored from the 2025-11-11 test report and the
rust-wasm capability page, with source.commit set to a sentinel
"manual-snapshot-2025-11-11". Gitea issue #574 tracks the follow-up
work in terraphim-ai to generate this file automatically from
Criterion output via a new scripts/update-benchmark-snapshot.sh plus a
cross-repo PR workflow. Steps 2 and 3 of the design plan are deferred.
Research + design docs live at .docs/research-ship-systems-benchmarks.md
and .docs/design-ship-systems-benchmarks.md (gitignored).
Verified: build completes in ~200ms, dev-browser confirms all six
values render from the data file and <time datetime=
"2025-11-11T00:00:00Z"> is set.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
"notes": "Hand-authored from docs/archive/root/test_benchmark_report_20251111.md and content/capabilities/rust-wasm.md. Will be replaced by automated snapshot once terraphim-ai scripts/update-benchmark-snapshot.sh lands (see Gitea #574)."
<p>Rust compiled to native or WebAssembly. Aho-Corasick automata match every pattern in a single pass -- O(n) in text length, independent of pattern count.</p>
<p>No float vectors, no dense embeddings, no GPU allocation. Rust's zero-cost abstractions, deterministic allocation, graphs held in compressed representations.</p>
0 commit comments