benchmarks
i picked five tests that cover cpu basics like math, branching, and memory access.
64-bit
05,50011,000250500ring64v64
32-bit
05,50011,000250500ring64v86
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 | |
| xorshift | 0.015 ms | 0.134 ms | 0.029 ms | 0.391 ms |
| matrix × vector | 0.279 ms | 0.522 ms | 0.066 ms | 0.415 ms |
| binary search | 1.159 ms | 1.659 ms | 0.400 ms | 0.711 ms |
| pointer chase | 2.216 ms | 1.922 ms | 0.774 ms | 1.819 ms |
| opaque texture spans | 0.908 ms | 0.944 ms | 1.187 ms | 1.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