be42fabb
bench: record u39 (table.new pre-sized result) post-mortem
Attempted emitting table_new(0, N) for decode result tables. Tests passed, JIT passed, but small-payload decode (10B, 100B) regressed 15-18% because the table.new upvalue-call cost exceeds any rehash savings at that scale, and the small case never reaches the first rehash anyway. Large-payload decode flat. Confirms drm's claim that alloc shape is not the bottleneck on the bench corpus. Code change reverted; only the writeup lands. beads-tarantool-protobuf-u39
Eugene Blikh <bigbes@gmail.com> — 2026-05-18 19:05:49 UTC
Commit be42fabbaa3f305b5bb6e60bc667da04e5788547 —
view raw patch
Parent(s):
a6eebdb3
| File | Status | + | − |
|---|---|---|---|
bench/PERF_LOG.md
|
M | +48 |