logos-delivery/logos_delivery
NagyZoltanPeter 50f9b97ba8
feat(bench): add -d:msgPathCounters decode/hash instrumentation
Zero-cost message-path counters gated on -d:msgPathCounters. When the
define is absent, countDecode/countHash expand to discard: no globals,
no runtime cost, no behaviour change. Hooked into WakuMessage.decode
(codec) and computeMessageHash (digest), exported via waku_core. Adds
benchTopicValidator/benchTopicHandler accessors on WakuRelay (also
define-gated) so the message-path benchmark can replay the inbound
validator+handler decode path without a live network.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 04:20:13 +02:00
..