Skip to content

perf: decode_bytearray (closes #570) + hot-path smart_decode shortcuts (credit @markjm #575) - #5

Merged
Tagar merged 2 commits into
masterfrom
perf-quick-wins
May 21, 2026
Merged

Tagar merged 2 commits into
masterfrom
perf-quick-wins

perf: drop smart_decode dispatch on hot recv + minor protocol cleanups

e7b1485
Select commit
Loading
Failed to load commit list.
CodSpeed / CodSpeed Performance Analysis succeeded May 21, 2026 in 0s

Performance Gate Passed

⚡ 2 improved benchmarks
✅ 16 untouched benchmarks
⏩ 7 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
⚡ WallTime test_m5c_encode_float 3 µs 2.7 µs +10.17%
⚡ WallTime test_macro_scenario[X7-16k] 102.9 ms 31 ms ×3.3

Tip

Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.


Comparing perf-quick-wins (e7b1485) with master (3c2f164)

Open in CodSpeed

Footnotes

  1. 7 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩