code wiki / _hdl_build / nx_comms_perf_census.nx

nx_comms_perf_census.nx

buildroot/runtime/_hdl_build/nx_comms_perf_census.nx

10976 B169 linesdepth 5pulls 5 transitivereach 0 importersview sourcekind tooltopic comms
docsdependenciesstructsconstsfunctions

about

nx_comms_perf_census.nx -- MEASURED PERFORMANCE census for the /video comms stack (operator 2026-07-02: "s class exceed performant on research as of today -- best fps sound responsiveness"). The PERF third of the management triad (breadth = nx_comms_rival_census, capability = the gates). THREE evidence classes, none asserted: MEASURED = gg_gate_green over the persisted room gate logs (last-verdict rule, anti-liar) -- these are REAL runs: the Jitsi SFU h2h, QoE-MOS, FEC/ARQ resilience, adaptive jitter buffer, BWE, ABR hysteresis, L4S queueing, audio PLC. SHIPPED = file-evidence of the 2026-07-02 fps rung (ladder TABLE in the wasm core, 10->20fps ceiling; client reads rungs from the core). BEHIND = the named debts, detected MECHANICALLY so they self-flip when fixed: the client still ships deprecated createScriptProcessor (AudioWorklet = the banked SOTA), still JPEG toBlob (WebCodecs hw = banked), fixed playout margins (organ gated, client unwired), and the glass-to-glass netem h2h vs rivals has NEVER run (the exceed standard's bar). LIVE axis: fresh funcheck video PASS required -- a dead room cannot GREEN a perf census. GROUNDED: refuses without the 13 banked perf_*.raw sources. expect_exit: 0 license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_gate_green.nx nx_comms_perf_census.nx

imports: nx_syscalls.nxnx_gate_green.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main pw sys_write slen sys_mmap have sys_openat_rd sys_close pn sys_mmap ↻ sys_write ↻ cr_live2 sys_mmap ↻ sys_read_file sys_openat_rd ↻ sys_lseek sys_mmap ↻ sys_read sys_close ↻ cr_find_eol sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real contains slen ↻ meas gg_gate_green gg_gate_judge sys_mmap ↻ gg_read sys_openat_rd ↻ sys_read ↻ sys_close ↻ gg_line_judge gg_last nx_str_len pw ↻ filehas sys_mmap ↻ sys_read_file ↻

structs

none

consts

18const K_MAGIC_8192: i64 = 8192
19const K_MAGIC_86400: i64 = 86400

functions

21func slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n }
called by 2: pwcontains
22func pw(s: *u8) -> i64 { sys_write(1,s,slen(s)); return 0 }
called by 3: measdebtmain calls 2: sys_writeslen
23func pn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
27func have(path: *u8) -> i64 { let fd: i64=sys_openat_rd(path); if fd<0 {return 0} sys_close(fd); return 1 }
called by 1: main calls 2: sys_openat_rdsys_close
28func contains(hay: *u8, n: i64, needle: *u8) -> i64
called by 2: filehascr_live2 calls 1: slen
33func filehas(path: *u8, pat: *u8) -> i64
38func cr_find_eol(b: *u8, n: i64, st: i64) -> i64 { var i: i64=st; while i<n { if (b[i] as i64)==10 {return i} i=i+1 } return n }
called by 1: cr_live2
39func cr_live2(logpath: *u8, maxage_s: i64) -> i64
84func meas(name: *u8, log: *u8, anchor: *u8, failp: *i64) -> i64
called by 1: main calls 2: gg_gate_greenpw
92func debt(name: *u8, path: *u8, pat: *u8, behindp: *i64) -> i64
called by 1: main calls 2: filehaspw
99func main() -> i64