ring64

benchmarks

i picked five tests that cover cpu basics like math, branching, and memory access.

64-bit

32-bit

higher means faster data access. farther right means faster compute.

workload timings

the charts use these timings. lower is faster.

64-bit 32-bit
ring64 v64 ring64 v86
xorshift0.015 ms0.134 ms0.029 ms0.391 ms
matrix × vector0.279 ms0.522 ms0.066 ms0.415 ms
binary search1.159 ms1.659 ms0.400 ms0.711 ms
pointer chase2.216 ms1.922 ms0.774 ms1.819 ms
opaque texture spans0.908 ms0.944 ms1.187 ms1.596 ms

how i tested

i averaged median times from chrome on macos (apple m4 pro) and edge on windows (ryzen 7 7800x3d).

ring64 timings include the sdk call, which added 5–43 µs in the full suite. v64 and v86 are timed between guest markers.

raw measurements