mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-03-27 21:39:07 +02:00
This benchmark currently tests two rather different methods within the same loop, which makes it hard to see what could be causing a performance degradation. Related: #5054. ``` BenchmarkSetAddAttributes/SetAttributes-10 14066331 82.80 ns/op 48 B/op 1 allocs/op BenchmarkSetAddAttributes/AddAttributes-10 19333711 114.7 ns/op 0 B/op 0 allocs/op ```