mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-02-13 13:48:28 +02:00
* Switch MinMaxSumCount to a mutex lock instead of StateLocker With multiple values being modified for each Update(), a single mutex lock and non-atomic operations ends up being faster than making each value update into an atomic operation. * Remove StateLocker implementation and comparison benchmarks * Remove field offset tests. No longer required with no atomics. Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>