interplane.Get Omega
Read in your language

sovereign-intelligence

Front door to Drake Stapleton's sovereign stack.

Brought by drakestapleton

branch main Branches Tags History

sovereign-intelligence / docs / archive / drakestapleton.com-old / src / components / BenchmarkSection.tsx

209 lines · 12457 bytes Raw Blame History
1import { Link } from "react-router-dom";
2import { trackRepoOutbound } from "../lib/tracking";
3
4export function BenchmarkSection() {
5 return (
6 <section className="benchmarks-section page-boundary" id="benchmarks" aria-labelledby="benchmarks-heading">
7 <div className="section-lead">
8 <p className="portrait-index">07 / Systems Performance</p>
9 <div>
10 <h2 id="benchmarks-heading">Real numbers: how fast sovereign architecture runs.</h2>
11 <p>
12 Dedicated Grace Blackwell hardware. Pure compiled native Rust and Mojo. Zero disk secrets.
13 Every millisecond accounted for across live multi-threaded execution sweeps.
14 </p>
15 </div>
16 </div>
17
18 <div className="benchmark-cards-grid">
19 <article className="benchmark-card">
20 <div className="benchmark-card-header">
21 <span className="benchmark-tag">Memory Footprint</span>
22 <h3>Resident Set Size (RSS)</h3>
23 <p>
24 Native compiled Rust daemons reduce resident memory compared to interpreted runtimes.
25 While full-stack Python agent frameworks load PyTorch and LangChain dependencies into 3.7+ gigabytes of RSS,
26 standalone native Rust daemons (aegis-runtime, cortex-rs) operate in under 10 megabytes.
27 Even against a minimal Uvicorn baseline (45 megabytes), native compilation preserves RAM on Grace Blackwell GB10 for unified neural weights and paged KV pools.
28 </p>
29 <p style={{ marginTop: "8px", fontSize: "12px" }}>
30 <Link to="/evidence#claim-memory-rss-aegis" style={{ color: "var(--red)", textDecoration: "underline" }}>
31 Inspect verified RSS claims in the Evidence Hub
32 </Link>
33 </p>
34 </div>
35
36 <div className="benchmark-visual">
37 <svg viewBox="0 0 540 280" className="benchmark-chart-svg" role="img" aria-label="Memory RSS Comparison Chart">
38 <rect width="100%" height="100%" rx="8" fill="#18111f" />
39
40 {/* Row 1: Python Full Stack */}
41 <text x="20" y="32" fill="#ded3df" fontSize="11" fontFamily="ui-monospace, monospace" fontWeight="700">Python Agent Stack</text>
42 <text x="20" y="46" fill="#bca9c2" fontSize="9" fontFamily="ui-sans-serif, sans-serif">FastAPI + LangChain + PyTorch</text>
43 <rect x="180" y="24" width="220" height="18" rx="3" fill="#d7755d" />
44 <text x="410" y="38" fill="#fff8ee" fontSize="11" fontFamily="ui-monospace, monospace" fontWeight="700">3,737 MB <tspan fill="#ffd0c7" fontSize="9">(Framework)</tspan></text>
45
46 {/* Row 2: ONNX INT8 */}
47 <text x="20" y="80" fill="#ded3df" fontSize="11" fontFamily="ui-monospace, monospace" fontWeight="700">cortex-encoder-rs</text>
48 <text x="20" y="94" fill="#bca9c2" fontSize="9" fontFamily="ui-sans-serif, sans-serif">ONNX Runtime INT8</text>
49 <rect x="180" y="72" width="70" height="18" rx="3" fill="#d3a85b" />
50 <text x="260" y="86" fill="#fff8ee" fontSize="11" fontFamily="ui-monospace, monospace" fontWeight="700">776 MB <tspan fill="#ef8b67" fontSize="9">(-79.2%)</tspan></text>
51
52 {/* Row 3: Python Minimal */}
53 <text x="20" y="128" fill="#ded3df" fontSize="11" fontFamily="ui-monospace, monospace" fontWeight="700">Python Minimal</text>
54 <text x="20" y="142" fill="#bca9c2" fontSize="9" fontFamily="ui-sans-serif, sans-serif">Single Uvicorn route</text>
55 <rect x="180" y="120" width="16" height="18" rx="3" fill="#6d626a" />
56 <text x="206" y="134" fill="#fff8ee" fontSize="11" fontFamily="ui-monospace, monospace" fontWeight="700">45.3 MB</text>
57
58 {/* Row 4: Cortex Graph */}
59 <text x="20" y="176" fill="#ded3df" fontSize="11" fontFamily="ui-monospace, monospace" fontWeight="700">cortex-rs</text>
60 <text x="20" y="190" fill="#8eac78" fontSize="9" fontFamily="ui-sans-serif, sans-serif">Axum + SQLite WAL</text>
61 <rect x="180" y="168" width="8" height="18" rx="3" fill="#7fb8a6" />
62 <text x="198" y="182" fill="#fff8ee" fontSize="11" fontFamily="ui-monospace, monospace" fontWeight="700">10.3 MB <tspan fill="#7fb8a6" fontSize="9">(-99.7%)</tspan></text>
63
64 {/* Row 5: Cockpit Gateway */}
65 <text x="20" y="224" fill="#ded3df" fontSize="11" fontFamily="ui-monospace, monospace" fontWeight="700">spark-cockpit-rs</text>
66 <text x="20" y="238" fill="#8eac78" fontSize="9" fontFamily="ui-sans-serif, sans-serif">Telemetry Gateway</text>
67 <rect x="180" y="216" width="7" height="18" rx="3" fill="#7fb8a6" />
68 <text x="197" y="230" fill="#fff8ee" fontSize="11" fontFamily="ui-monospace, monospace" fontWeight="700">8.6 MB <tspan fill="#7fb8a6" fontSize="9">(-99.8%)</tspan></text>
69
70 {/* Row 6: AEGIS Heartbeat */}
71 <text x="20" y="262" fill="#ded3df" fontSize="11" fontFamily="ui-monospace, monospace" fontWeight="700">aegis-runtime</text>
72 <rect x="180" y="254" width="5" height="18" rx="3" fill="#ef8b67" />
73 <text x="195" y="268" fill="#fff8ee" fontSize="11" fontFamily="ui-monospace, monospace" fontWeight="700">4.8 MB <tspan fill="#ef8b67" fontSize="9">(-99.87%)</tspan></text>
74 </svg>
75 </div>
76 </article>
77
78 <article className="benchmark-card">
79 <div className="benchmark-card-header">
80 <span className="benchmark-tag">Response Speed</span>
81 <h3>Latency (p50 TTFB) & Throughput</h3>
82 <p>
83 Native Axum microservices deliver sub-4 ms response times under concurrent load,
84 measuring 3.56 ms p50 at 2,056 requests/sec on cortex-rs versus 38.4 ms at 214 requests/sec on a standard
85 asynchronous Python FastAPI baseline. Agents query memory and dispatch tools with direct compiled execution.
86 </p>
87 <p style={{ marginTop: "8px", fontSize: "12px" }}>
88 <Link to="/evidence#claim-axum-latency" style={{ color: "var(--red)", textDecoration: "underline" }}>
89 Inspect verified gateway claims in the Evidence Hub
90 </Link>
91 </p>
92 </div>
93
94 <div className="benchmark-visual">
95 <svg viewBox="0 0 540 280" className="benchmark-chart-svg" role="img" aria-label="Latency and Throughput Comparison Chart">
96 <rect width="100%" height="100%" rx="8" fill="#18111f" />
97
98 {/* Row 1: Python FastAPI */}
99 <text x="20" y="36" fill="#ded3df" fontSize="11" fontFamily="ui-monospace, monospace" fontWeight="700">Python FastAPI</text>
100 <text x="20" y="50" fill="#bca9c2" fontSize="9" fontFamily="ui-sans-serif, sans-serif">Standard Async Route</text>
101 <rect x="190" y="26" width="220" height="20" rx="3" fill="#d7755d" />
102 <text x="420" y="41" fill="#fff8ee" fontSize="11" fontFamily="ui-monospace, monospace" fontWeight="700">38.4 ms <tspan fill="#ffd0c7" fontSize="9">(214 req/s)</tspan></text>
103
104 {/* Row 2: Spark Cockpit Pulse */}
105 <text x="20" y="98" fill="#ded3df" fontSize="11" fontFamily="ui-monospace, monospace" fontWeight="700">spark-cockpit-rs</text>
106 <text x="20" y="112" fill="#8eac78" fontSize="9" fontFamily="ui-sans-serif, sans-serif">Pulse Gateway :18095</text>
107 <rect x="190" y="88" width="28" height="20" rx="3" fill="#7fb8a6" />
108 <text x="228" y="103" fill="#fff8ee" fontSize="11" fontFamily="ui-monospace, monospace" fontWeight="700">4.30 ms <tspan fill="#7fb8a6" fontSize="9">(1,921 req/s)</tspan></text>
109
110 {/* Row 3: Cortex Encoder */}
111 <text x="20" y="160" fill="#ded3df" fontSize="11" fontFamily="ui-monospace, monospace" fontWeight="700">cortex-encoder-rs</text>
112 <text x="20" y="174" fill="#8eac78" fontSize="9" fontFamily="ui-sans-serif, sans-serif">Health Gateway :18081</text>
113 <rect x="190" y="150" width="26" height="20" rx="3" fill="#7fb8a6" />
114 <text x="226" y="165" fill="#fff8ee" fontSize="11" fontFamily="ui-monospace, monospace" fontWeight="700">3.97 ms <tspan fill="#7fb8a6" fontSize="9">(1,842 req/s)</tspan></text>
115
116 {/* Row 4: Cortex Entity Query */}
117 <text x="20" y="222" fill="#ded3df" fontSize="11" fontFamily="ui-monospace, monospace" fontWeight="700">cortex-rs /api/get</text>
118 <text x="20" y="236" fill="#8eac78" fontSize="9" fontFamily="ui-sans-serif, sans-serif">Knowledge Graph Query</text>
119 <rect x="190" y="212" width="23" height="20" rx="3" fill="#ef8b67" />
120 <text x="223" y="227" fill="#fff8ee" fontSize="11" fontFamily="ui-monospace, monospace" fontWeight="700">3.56 ms <tspan fill="#ef8b67" fontSize="9">(2,056 req/s)</tspan></text>
121 </svg>
122 </div>
123 </article>
124 </div>
125
126 <div className="silicon-highlights-grid">
127 <article className="silicon-highlight-card">
128 <strong>2.06 µs</strong>
129 <h4>Zero-Copy Branching</h4>
130 <p>
131 500 reasoning branches forked in 1.20 ms with 500.0x memory reduction (704 MB vs 343.75 GB) on Grace Blackwell GB10.
132 </p>
133 <p style={{ marginTop: "6px", fontSize: "11px" }}>
134 <Link to="/evidence#claim-branching-fork-gb10" style={{ color: "var(--red)", textDecoration: "underline" }}>
135 Receipt: gb10_canonical
136 </Link>
137 </p>
138 </article>
139
140 <article className="silicon-highlight-card">
141 <strong>553 tok/s</strong>
142 <h4>Continuous Batching</h4>
143 <p>
144 Peak throughput at C=16 on TinyLlama-1.1B BF16 with 23.56 ms p50 step latency and zero CPU fallback.
145 </p>
146 <p style={{ marginTop: "6px", fontSize: "11px" }}>
147 <Link to="/evidence#claim-continuous-batching-gb10" style={{ color: "var(--red)", textDecoration: "underline" }}>
148 Receipt: gb10_canonical
149 </Link>
150 </p>
151 </article>
152
153 <article className="silicon-highlight-card">
154 <strong>4.09 ms</strong>
155 <h4>Query Vectorization</h4>
156 <p>Short query INT8 quantized embedding via native ONNX Runtime C-API on Grace Blackwell silicon.</p>
157 <p style={{ marginTop: "6px", fontSize: "11px" }}>
158 <Link to="/evidence#claim-query-vectorization" style={{ color: "var(--red)", textDecoration: "underline" }}>
159 Receipt: ONNX INT8
160 </Link>
161 </p>
162 </article>
163
164 <article className="silicon-highlight-card">
165 <strong>Multi-Platform</strong>
166 <h4>Platform Matrix</h4>
167 <p>Verified on NVIDIA Grace Blackwell GB10 and Apple Silicon macOS, with generic Linux x86_64 validated.</p>
168 <p style={{ marginTop: "6px", fontSize: "11px" }}>
169 <Link to="/evidence#claim-hardware-matrix" style={{ color: "var(--red)", textDecoration: "underline" }}>
170 View Platform Matrix
171 </Link>
172 </p>
173 </article>
174 </div>
175
176 <div className="benchmarks-action-strip">
177 <div>
178 <h3>Inspect the verified records</h3>
179 <p>
180 Review automated reproduction harnesses, raw telemetry data files, and cryptographic receipts:
181 </p>
182 </div>
183 <div style={{ display: "flex", gap: "12px", flexWrap: "wrap" }}>
184 <Link to="/evidence" className="portrait-link">
185 Explore Evidence Hub
186 </Link>
187 <a
188 href="https://github.com/aien-dev/benchmarks"
189 className="portrait-link quiet"
190 target="_blank"
191 rel="noopener noreferrer"
192 onClick={() => trackRepoOutbound("benchmarks", "https://github.com/aien-dev/benchmarks")}
193 >
194 View aien-dev/benchmarks
195 </a>
196 <a
197 href="https://github.com/aien-dev/drakestapleton.com"
198 className="portrait-link quiet"
199 target="_blank"
200 rel="noopener noreferrer"
201 onClick={() => trackRepoOutbound("drakestapleton.com", "https://github.com/aien-dev/drakestapleton.com")}
202 >
203 View aien-dev/drakestapleton.com
204 </a>
205 </div>
206 </div>
207 </section>
208 );
209}