Skip to content

High page load times and tab crashes when loading long Sentry Replays #91331

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

Open
dalnoki opened this issue May 9, 2025 · 8 comments · Fixed by #92167
Open

High page load times and tab crashes when loading long Sentry Replays #91331

dalnoki opened this issue May 9, 2025 · 8 comments · Fixed by #92167

Comments

@dalnoki
Copy link
Contributor

dalnoki commented May 9, 2025

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

A customer recently observed a significant performance regression in Sentry’s Replay feature. Replays that used to load and play back smoothly are now taking an excessive amount of time to load, and in many cases the browser tab becomes unresponsive or crashes entirely when attempting to load longer sessions.

  1. Generate a long Replay
  2. Open it in Sentry

example: https://cambai.sentry.io/replays/af033d21b79c426f82a3b80448313bd5

Expected Result

The replay should begin loading within a few seconds and remain responsive

Actual Result

Initial load time exceeds 30 seconds on average and the browser tab often freezes or crashes before the replay fully loads.

Product Area

Replays

Link

No response

DSN

No response

Version

No response

@getsantry
Copy link
Contributor

getsantry bot commented May 9, 2025

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

@getsantry
Copy link
Contributor

getsantry bot commented May 9, 2025

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

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 May 9, 2025
@ryan953
Copy link
Member

ryan953 commented May 9, 2025

The linked replay has about 300 click breadcrumbs over 30+ mins. It's mid-high but not toooo many. What could be worse is that it's 5mb of data including 3 "too many mutation" warnings. So chugging through all that is a lot.

More profiling will reveal more detail.

@nihaalnz
Copy link

Any status on this? What is the next step?

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 May 12, 2025
@billyvg
Copy link
Member

billyvg commented May 13, 2025

We know where the problem is but we're still working on a fix. As a temporary workaround, you can load any tab aside from Breadcrumbs, and the replay will play correctly. (e.g. open Console and then refresh the page).

@billyvg
Copy link
Member

billyvg commented May 23, 2025

@dalnoki this is now fixed for the linked org, I'm not closing this issue yet as there are still issues with another org

@nihaalnz
Copy link

@dalnoki this is now fixed for the linked org, I'm not closing this issue yet as there are still issues with another org

By fixed, do you mean fixed up to the production version?

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 May 23, 2025
@billyvg
Copy link
Member

billyvg commented May 23, 2025

@dalnoki this is now fixed for the linked org, I'm not closing this issue yet as there are still issues with another org

By fixed, do you mean fixed up to the production version?

@nihaalnz Correct, let me know if you're still having issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

4 participants