Tracer holds a weakref to its TracerProvider and attempts to upgrade that to an Arctwice in the hot path - one during span start and then again during span end. This is affecting throughput due to contention.
This issue is already fixed for Logs, opening a new issue to track fixing the same for traces.
Tracer
holds a weakref to itsTracerProvider
and attempts to upgrade that to anArc
twice in the hot path - one during span start and then again during span end. This is affecting throughput due to contention.This issue is already fixed for Logs, opening a new issue to track fixing the same for traces.