NXS vs JSON — Live Ticker

A 60 FPS rAF loop updates record 0's score every frame, on both paths. JSON path re-parses the whole array every K frames (simulating a server push). NXS patches 8 bytes in place. Watch the sparkline.

10
1
Ready.

JSON path

Mutates parsed[0].score; re-serialises + re-parses the full 15 MB array every K frames.

FPS
0
Last frame
Avg frame
Max frame
Dropped (>20ms)
0
50 most recent work-times · red > 20 ms (over budget)

NXS path

In-place DataView.setFloat64 at the cached byte offset of record 0's score. Zero allocations per frame.

FPS
0
Last frame
Avg frame
Max frame
Dropped (>20ms)
0
50 most recent work-times · red > 20 ms (over budget)

Long tasks (PerformanceObserver)

Entries of type longtask (> 50 ms) reported by the browser while the demo runs. If the JSON path is dominating the main thread, they land here.

No long tasks observed.