dd-sdk-ios icon indicating copy to clipboard operation
dd-sdk-ios copied to clipboard

RUM-5757 benchmark: Collect Session Replay Record Spans

Open maxep opened this issue 1 year ago • 1 comments

What and why?

Do not merge: Tracer perfs skew the measures

Collection traces of the recording phase of Session Replay.

How?

  • Create an OpenTelemetry tracer
  • Inject the tracer in the SDK
  • Start/Stop spans of recorders.

Review checklist

  • [x] Feature or bugfix MUST have appropriate tests (unit, integration)
  • [x] Make sure each commit and the PR mention the Issue number or JIRA reference
  • [ ] Add CHANGELOG entry for user facing changes

maxep avatar Sep 10 '24 13:09 maxep

Datadog Report

Branch report: maxep/RUM-5757/benchmark-profiling-imp Commit report: 90d5b27 Test service: dd-sdk-ios

:white_check_mark: 0 Failed, 3432 Passed, 0 Skipped, 2m 21.7s Total Time :small_red_triangle_down: Test Sessions change in coverage: 12 decreased, 2 increased

:small_red_triangle_down: Code Coverage Decreases vs Default Branch (12)

This report shows up to 5 code coverage decreases.

  • test DatadogLogsTests tvOS 46.81% (-1.16%) - Details
  • test DatadogLogsTests iOS 46.76% (-1.15%) - Details
  • test DatadogCrashReportingTests tvOS 26.63% (-0.28%) - Details
  • test DatadogCrashReportingTests iOS 26.58% (-0.28%) - Details
  • test DatadogCoreTests tvOS 78.57% (-0.19%) - Details

Closing in favour of #2218

maxep avatar Mar 05 '25 07:03 maxep