Title: Sentry Replay freezes pages with a large DOM tree · Issue #7085 · getsentry/sentry-javascript · GitHub
Open Graph Title: Sentry Replay freezes pages with a large DOM tree · Issue #7085 · getsentry/sentry-javascript
X Title: Sentry Replay freezes pages with a large DOM tree · Issue #7085 · getsentry/sentry-javascript
Description: Environment SaaS (https://sentry.io/) Version No response Link No response DSN No response Steps to Reproduce We enabled Sentry Replay, but after an hour in production, we had to revert this change. Customers with a large number of displ...
Open Graph Description: Environment SaaS (https://sentry.io/) Version No response Link No response DSN No response Steps to Reproduce We enabled Sentry Replay, but after an hour in production, we had to revert this change...
X Description: Environment SaaS (https://sentry.io/) Version No response Link No response DSN No response Steps to Reproduce We enabled Sentry Replay, but after an hour in production, we had to revert this change...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/7085
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Sentry Replay freezes pages with a large DOM tree","articleBody":"### Environment\n\nSaaS (https://sentry.io/)\n\n### Version\n\n_No response_\n\n### Link\n\n_No response_\n\n### DSN\n\n_No response_\n\n### Steps to Reproduce\n\nWe enabled Sentry Replay, but after an hour in production, we had to revert this change. Customers with a large number of displayed rows on a single page (in our case, a huge list of room types) were starting to report that the page was slowing down a lot, freezing, and had bad performance after some clicks. We were able to reproduce this problem only on a branch with Sentry Replay enabled.\r\n\r\nIt seems that where the DOM tree is huge (250k nodes), then the way Sentry Replay stores data in the browser starts to slow down whole tab (other tabs in browser work OK)\r\n\r\nOn my example when I click on \"choose\" button page freezing for 2-5 minutes. \r\nNumber of DOM nodes is duplicated twice - from 250k to 500k nodes.\r\n\n\n### Expected Result\n\nNo freezing\n\n### Actual Result\n\nConsole output from Chrome Developer Tool:\r\n\r\n\r\nPerformance tab from Chrome Developer Tool:\r\n\r\n\r\n\r\nAs you see on the last two pictures Sentry is the one who eat resources","author":{"url":"https://github.com/miedzikd","@type":"Person","name":"miedzikd"},"datePublished":"2023-02-07T13:16:24Z","url":"https://github.com/getsentry/sentry-javascript/issues/7085"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4f2116e7-86cb-3c4d-f475-8d2c2d2fa3a8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BF46:1D92B2:160111:1EE4E0:6B0465D1 |
| html-safe-nonce | e73446b43776c687c5a56231a542316325a44d6fc4c15507c03531f07871485b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjQ2OjFEOTJCMjoxNjAxMTE6MUVFNEUwOjZCMDQ2NUQxIiwidmlzaXRvcl9pZCI6IjUyMTk3NDE5MjYzNDUxNzI0MzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0296e80157f3db0454a00ebfed1b2f271c91784744c01699ae29bcaf78026328 |
| hovercard-subject-tag | issue:1574886487 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/7085/issue_layout |
| twitter:image | https://opengraph.githubassets.com/417f30bce1ae64d5f5a2551bcda1fa4d7d37c630924e47b5b0d7d2479c56b45b/getsentry/sentry-javascript/issues/7085 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/417f30bce1ae64d5f5a2551bcda1fa4d7d37c630924e47b5b0d7d2479c56b45b/getsentry/sentry-javascript/issues/7085 |
| og:image:alt | Environment SaaS (https://sentry.io/) Version No response Link No response DSN No response Steps to Reproduce We enabled Sentry Replay, but after an hour in production, we had to revert this change... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | miedzikd |
| hostname | github.com |
| expected-hostname | github.com |
| None | 83e4c0e58c5162177f3c161c5fbad38527ae04c11ac14980f9f9d85ae2027b1f |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ca4d07a7cef4e4b75f821dc25e7300d80c1450a9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width