1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-05 22:54:18 +02:00
opentelemetry-go/sdk
Sam Xie 3429e15b9a
Revert Cleanup interaction of exemplar and aggregation (#5913)
Topic: #5249

This reverts commit 8041156518 (PR: #5899)
due to the performance degradation found by Benchmarks CI
https://github.com/open-telemetry/opentelemetry-go/actions/runs/11447364022/job/31848519243

Here is the benchmark test on my machine:

```
goos: darwin
goarch: arm64
pkg: go.opentelemetry.io/otel/sdk/metric
                                       │   old.txt   │                new.txt                 │
                                       │   sec/op    │    sec/op     vs base                  │
Instrument/instrumentImpl/aggregate-10   3.378µ ± 3%   49.366µ ± 1%  +1361.40% (p=0.000 n=10)
Instrument/observable/observe-10         2.288µ ± 2%   37.791µ ± 1%  +1551.73% (p=0.000 n=10)
geomean                                  2.780µ         43.19µ       +1453.65%

                                       │   old.txt    │                 new.txt                 │
                                       │     B/op     │     B/op       vs base                  │
Instrument/instrumentImpl/aggregate-10   1.245Ki ± 1%   22.363Ki ± 0%  +1696.08% (p=0.000 n=10)
Instrument/observable/observe-10           823.0 ± 1%    17432.5 ± 0%  +2018.17% (p=0.000 n=10)
geomean                                  1.000Ki         19.51Ki       +1850.48%

                                       │  old.txt   │                new.txt                │
                                       │ allocs/op  │  allocs/op   vs base                  │
Instrument/instrumentImpl/aggregate-10   1.000 ± 0%   21.000 ± 0%  +2000.00% (p=0.000 n=10)
Instrument/observable/observe-10         1.000 ± 0%   16.000 ± 0%  +1500.00% (p=0.000 n=10)
```
2024-10-23 10:48:07 -07:00
..
instrumentation Allow relying on InstrumentationScope in SpanStub and fix remaining deprecation issues (#5627) 2024-07-24 09:33:07 +02:00
internal [chore]: enable suite-extra-assert-call rule from testifylint (#5833) 2024-09-23 08:56:45 +02:00
log Release v1.31.0/v0.53.0/v0.7.0/v0.0.10 (#5883) 2024-10-11 12:59:27 -04:00
metric Revert Cleanup interaction of exemplar and aggregation (#5913) 2024-10-23 10:48:07 -07:00
resource [chore] Use errors.Join to unify errors (#5907) 2024-10-22 15:10:05 -07:00
trace Performance improvements for the trace SDK in Span. (#5874) 2024-10-09 09:51:17 +02:00
go.mod Release v1.31.0/v0.53.0/v0.7.0/v0.0.10 (#5883) 2024-10-11 12:59:27 -04:00
go.sum fix(deps): update golang.org/x (#5872) 2024-10-07 09:13:11 +02:00
README.md Add READMEs to every package (#5103) 2024-03-26 20:13:54 +01:00
version_test.go [chore] Simplify the license header (#4987) 2024-02-29 07:05:28 +01:00
version.go Release v1.31.0/v0.53.0/v0.7.0/v0.0.10 (#5883) 2024-10-11 12:59:27 -04:00

SDK

PkgGoDev