mirror of
https://github.com/XRPLF/rippled.git
synced 2026-09-05 16:48:24 +00:00
The conditional-compilation section promised zero overhead when telemetry is not wanted. The span disappears, but the arguments passed to it do not: the compiled-out guards are ordinary inline functions, so a to_string() or a hash in an argument list still runs and its result is then discarded. State that, show the guard that does remove the work, and name the opposite case -- the metric macros, which discard their arguments and need no guard.