forked from open-telemetry/opentelemetry-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
trace: Use non-generic to replace newEvictedQueue in trace.start to r…
…educe memory usage. (open-telemetry#5497) benchstat: ``` goos: darwin goarch: arm64 pkg: go.opentelemetry.io/otel/sdk/trace │ old │ new │ │ sec/op │ sec/op vs base │ TraceStart-10 950.6n ± 1% 641.0n ± 0% -32.57% (p=0.000 n=10) │ old │ new │ │ B/op │ B/op vs base │ TraceStart-10 1040.0 ± 0% 704.0 ± 0% -32.31% (p=0.000 n=10) │ old │ new │ │ allocs/op │ allocs/op vs base │ TraceStart-10 20.00 ± 0% 14.00 ± 0% -30.00% (p=0.000 n=10) ``` --------- Co-authored-by: Damien Mathieu <damien.mathieu@elastic.co> Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
- Loading branch information
Showing
5 changed files
with
43 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters