atproto utils for zig zat.dev
atproto sdk zig

add benchmarks for low-level buffer-direct API master

Measures writeText, writeUint, writeCidLink, writeRecord (manual 434-byte record), readText, readUint, readCidLink, skipValue, peekType. Uses runtime-opaque inputs and keeps output buffers alive to prevent dead store elimination. Key result: manual record write via low-level API is 5 ns vs 124 ns for the Writer-based encoder (25x). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>


+14 -8
1 changed file