mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-07-20 19:49:28 +00:00
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>