Worker message accounting (#6957): the ONE wrapper every loader worker
boundary goes through. It patches the worker's postMessage (main -> worker,
out) and listens for its messages (worker -> main, in), adding per label:
msg.
With counters off at wrap time it returns the worker untouched, so the
production path keeps the native postMessage. Load-trace control messages
are not counted (they exist only while tracing).
Worker message accounting (#6957): the ONE wrapper every loader worker boundary goes through. It patches the worker's
postMessage(main -> worker,out) and listens for its messages (worker -> main,in), adding per label:msg.
With counters off at wrap time it returns the worker untouched, so the production path keeps the native
postMessage. Load-trace control messages are not counted (they exist only while tracing).