nx_bench_stress_emit_test.nx
buildroot/runtime/nx_bench_stress_emit_test.nx
about
nx_bench_stress_emit_test.nx -- runs the stress workload AND emits
the substrate-honest TSV row to stdout so operators see numbers.
This is the FIRST end-to-end "hard real" bench in the substrate:
1. Build real synthetic GGUF + BPE fixture
2. Build session + spawn LLM actor + listener
3. Drive 10 autoregressive iterations of REAL transformer forward
4. Capture wall-clock + substrate counters
5. Emit TSV header + data row to fd=1 (stdout)
Output appears in the smoke driver's log so the human can READ the
actual numbers, not just see "PASS".
HONEST SCOPE: wall-clock is qemu-emulated -- meaningful for
substrate-internal comparison + as the call-pattern that physical-
hardware bench rigs will use unchanged.
dependencies 11 imports · 0 importers
diagram shows first 10 each side; +1 more imports, +0 more importers in the complete lists below.
imports: nx_syscalls.nxnx_tier.nxnx_clock.nxnx_actor.nxnx_message.nxnx_session.nxnx_bench_companion.nxnx_bench_companion_timed.nxnx_bench_companion_tsv.nxnx_gguf_fixture_tiny.nxnx_actor_role_llm_v2.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 30 | func main() -> i64 |