Skip to content

[BENCHMARK] add SpanData recordable benchmark and unify common utils#4203

Open
dbarker wants to merge 4 commits into
open-telemetry:mainfrom
dbarker:add_span_data_recordable_benchmark
Open

[BENCHMARK] add SpanData recordable benchmark and unify common utils#4203
dbarker wants to merge 4 commits into
open-telemetry:mainfrom
dbarker:add_span_data_recordable_benchmark

Conversation

@dbarker

@dbarker dbarker commented Jul 1, 2026

Copy link
Copy Markdown
Member

Contributes to #4046

Changes

  • Adds common span recordable benchmark utils to test common
    • common data and helpers to test recording spans with varying numbers of attributes, events, and links
  • Adds a SpanData recordable benchmark.
  • Update OtlpRecordable benchmark use the common uitls

For significant contributions please make sure you have completed the following items:

  • CHANGELOG.md updated for non-trivial changes
  • Unit tests have been added
  • Changes in public API reviewed

…on. Update otlp recordable benchmark to match the SpanData benchmark
@codecov

codecov Bot commented Jul 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.84%. Comparing base (1accbc0) to head (6eade0e).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4203      +/-   ##
==========================================
- Coverage   82.84%   82.84%   -0.00%     
==========================================
  Files         415      415              
  Lines       17423    17421       -2     
==========================================
- Hits        14433    14431       -2     
  Misses       2990     2990              
Files with missing lines Coverage Δ
sdk/src/trace/span_data.cc 98.42% <100.00%> (-0.04%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dbarker dbarker marked this pull request as ready for review July 1, 2026 22:08
@dbarker dbarker requested a review from a team as a code owner July 1, 2026 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant