Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance improvement: avoid creating multiple same read-only objects #2104

Merged
merged 2 commits into from
Jul 20, 2021

Conversation

bogdandrutu
Copy link
Member

"snapshot" is read-only so same instance can be passed to multiple processors.

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
@codecov
Copy link

codecov bot commented Jul 19, 2021

Codecov Report

Merging #2104 (6dc4ab7) into main (ab78dbd) will increase coverage by 0.0%.
The diff coverage is 100.0%.

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #2104   +/-   ##
=====================================
  Coverage   72.8%   72.8%           
=====================================
  Files        166     166           
  Lines       8184    8185    +1     
=====================================
+ Hits        5965    5966    +1     
  Misses      1989    1989           
  Partials     230     230           
Impacted Files Coverage Δ
sdk/trace/span.go 89.1% <100.0%> (+<0.1%) ⬆️

@Aneurysm9 Aneurysm9 added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Jul 19, 2021
@MrAlias MrAlias merged commit 9b1a5f7 into open-telemetry:main Jul 20, 2021
@bogdandrutu bogdandrutu deleted the snapshot branch November 15, 2021 18:38
@pellared pellared added this to the untracked milestone Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants