-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed as not planned
Labels
Package: replayIssues related to the Sentry Replay SDKIssues related to the Sentry Replay SDK
Description
We currently show a DOM node count in the UI, but it's calculated on the frontend/UI side which is quite expensive.
We should instead calculate this on SDK (source) by either:
document.querySelectorAll('*')
record.mirror.idNodeMap
The former include elements that replay does not capture (meta
, script
and svg). The latter includes text nodes. I think using the rrweb mirror makes more sense since we would then be reporting what we are recording in the replay. It is also currently what we show in the replay details by the frontend.
Metadata
Metadata
Assignees
Labels
Package: replayIssues related to the Sentry Replay SDKIssues related to the Sentry Replay SDK