code wiki / (root) / nx_crc32c_bench.nx

nx_crc32c_bench.nx

buildroot/runtime/nx_crc32c_bench.nx

2077 B58 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind bench
docsdependenciesstructsconstsfunctions

about

nx_crc32c_bench.nx -- MEASURED throughput of table CRC-32C vs the bit-by-bit reference, 1:1 on this hardware. Shows the table speedup (the perf exceed the bit-by-bit module flagged as future work). license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_crc32c.nx nx_crc32c_bench.nx

imports: nx_crc32c.nx

imported by: nobody (leaf or entry point)

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

main crc32c_build_table sys_mmap crc32c_table sys_now_us sys_mmap ↻ sys_clock_gettime_mono crc32c_ref bdec

structs

none

consts

7const K_MAGIC_2000000: i64 = 2000000
8const K_MAGIC_100000: i64 = 100000

functions

10func crc32c_ref(bytes: *u8, n: i64) -> i64
called by 1: main
24func bdec(n: i64) -> i64
called by 1: main
35func main() -> i64