Skip to content

Poor Sentry UI performance when loading certain Replays #82221

Closed

Description

@rodolfoBee

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

  1. Configure the Sentry SDK to send replays to Sentry
  2. Run the and send replays

Expected Result

The UI loads and plays the replays smoothly, regardless of its complexity and duration.

Actual Result

The page has long loading time and freezes in some cases when trying to load replays from the affected user. The links can be accessed in the internal Jira ticket linked to this issue.

Product Area

Replays

Link

No response

DSN

No response

Version

No response

┆Issue is synchronized with this Jira Improvement by Unito

Activity

  1. added
    Sync: Jira
    on Dec 17, 2024
  2. getsantry commented on Dec 17, 2024

    @getsantry
    Contributor

    Auto-routing to @getsentry/product-owners-replays for triage ⏲️

  3. moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on Dec 17, 2024
  4. self-assigned this
    on Dec 17, 2024
  5. billyvg commented on Dec 17, 2024

    @billyvg
    Member

    Not exactly sure what is going on here yet, but looks to be involving replayStepper. As a workaround, you can add ?t_main=console to the URL to open up the Console tab. This seems to allow the replay to load and play without any issues. Unfortunately, this means the Breadcrumbs tab is unusable.

  6. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 3on Dec 17, 2024
  7. billyvg commented on Dec 23, 2024

    @billyvg
    Member

    I found an issue where a loop times out after 500ms. There can be cases where it can infinitely loop because iterateResolveTree can call appendNode for the same mutations. Though after fixing that I found another issue where handleInsertBefore calls getInsertedStylesFromElement which forces a reflow

    Image

  8. locked and limited conversation to collaborators on Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ImprovementProduct Area: ReplaysSync: Jira

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions