Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sdk/log: Fix BenchmarkLoggerNewRecord to not drop attributes (#5407)
Leftover after #5230 We want to have the benchmarks working with 5+ attributes as this is when allocations kick in. Before changes: ``` BenchmarkLoggerNewRecord/5_attributes-16 4016042 309.0 ns/op 0 B/op 0 allocs/op BenchmarkLoggerNewRecord/10_attributes-16 2150197 543.4 ns/op 0 B/op 0 allocs/op ``` After changes: ``` BenchmarkLoggerNewRecord/5_attributes-16 3779966 311.1 ns/op 0 B/op 0 allocs/op BenchmarkLoggerNewRecord/10_attributes-16 1000000 1314 ns/op 610 B/op 4 allocs/op ```
- Loading branch information