nx_uxf_sqlite_workload.nx
buildroot/runtime/nx_uxf_sqlite_workload.nx
about
nx_uxf_sqlite_workload.nx -- UXF arc #4 (true 1:1 bench), prep: SOVEREIGNLY generate the EXTERNAL
sqlite incumbent's workload as a .sql script. GUARDRAIL (no-cheat flag): sqlite is the external,
3rd-party, NON-sovereign yardstick-to-beat -- it only EXECUTES a workload Nishi authored; it does
no Nishi work and is never linked. The workload is byte-for-byte IDENTICAL to nx_uxf_store_bench:
N=20000 key-value rows (key 'k'+8digit, value 16 bytes 0xAB), bulk-insert in one txn, then 20000
point lookups over the same (i*7919)%N access pattern (via a recursive CTE) -- so the comparison
is fair. Output: knowledge/staging/uxf/bench.sql. No hardware writes (Rule 26).
expect_exit: 0 license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_syscalls.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
| 10 | const K_MAGIC_4194304: i64 = 4194304 |
| 12 | const WN: i64 = 20000 |
functions
| 14 | func ws(buf: *u8, off: i64, s: *u8) -> i64 { var i: i64 = 0; while s[i] != (0 as u8) { buf[off + i] = s[i]; i = i + 1 } return off + i } called by 1: main |
| 15 | func wkey(buf: *u8, off: i64, v: i64) -> i64 called by 1: main |
| 22 | func wpn(buf: *u8, off: i64, v: i64) -> i64 |
| 34 | func main() -> i64 |