Title: @sentry/replay significant performance decrease when enabled · Issue #8469 · getsentry/sentry-javascript · GitHub
Open Graph Title: @sentry/replay significant performance decrease when enabled · Issue #8469 · getsentry/sentry-javascript
X Title: @sentry/replay significant performance decrease when enabled · Issue #8469 · getsentry/sentry-javascript
Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using the latest SDK release https://github.com/...
Open Graph Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
X Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/8469
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"@sentry/replay significant performance decrease when enabled","articleBody":"### Is there an existing issue for this?\r\n\r\n- [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues\r\n- [X] I have reviewed the documentation https://docs.sentry.io/\r\n- [X] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases\r\n\r\n### How do you use Sentry?\r\n\r\nSentry Saas (sentry.io)\r\n\r\n### Which SDK are you using?\r\n\r\n@sentry/vue\r\n\r\n### SDK Version\r\n\r\n7.57.0\r\n\r\n### Framework Version\r\n\r\n3.3.4\r\n\r\n### Link to Sentry event\r\n\r\n_No response_\r\n\r\n### SDK Setup\r\n\r\n ```ts\r\n sentryInit({\r\n app,\r\n dsn: SENTRY_DSN,\r\n tunnel: '/api/sentry-tunnel',\r\n replaysSessionSampleRate: 1.0,\r\n replaysOnErrorSampleRate: 1.0,\r\n integrations: [\r\n new BrowserTracing({\r\n routingInstrumentation: vueRouterInstrumentation(router)\r\n }),\r\n new Replay()\r\n ],\r\n tracesSampleRate: 1\r\n });\r\n ```\r\n\r\n### Steps to Reproduce\r\n\r\nNot sure how to provide ways to reproduce without having a live application. It was noticed internally on our site of an odd slowdown which led me to investigate. The page in question is a big table with lots of rows and columns.\r\n\r\nAdding SS from my performance captures, can try get more information if needed. Not sure what other information would be.\r\n\r\n### Expected Result\r\n\r\nPrior to 7.57.0 replay the page would load instantly and not be affected by having sentry enabled.\r\n\r\nBelow is a SS of a chrome profile from what I think is the slow function in the 7.57.0 version. (SS in running 7.56.0) \r\n\r\n\r\n\r\n\r\n### Actual Result\r\n\r\nNow on 7.57.0 the page is slowed down significantly due to `processMutations()`.\r\n\r\n \r\n\r\n\r\n","author":{"url":"https://github.com/kalvenschraut","@type":"Person","name":"kalvenschraut"},"datePublished":"2023-07-06T18:22:52Z","url":"https://github.com/getsentry/sentry-javascript/issues/8469"}
| 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:3732cc80-b3db-74b6-142d-ce64c3339ec1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 845E:349FE8:25A124:352C50:6B04695E |
| html-safe-nonce | 9e995d866c34b6b6f8b6991fb24bd3855b09cdc05942ea7ef4aa73aebf6e824a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDVFOjM0OUZFODoyNUExMjQ6MzUyQzUwOjZCMDQ2OTVFIiwidmlzaXRvcl9pZCI6IjM3Nzg1NjI2MzA4MTAzNjQyNTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 63e439e47205a20b2790b95ce6a5689d901442a1913e274bd04add7623016eab |
| hovercard-subject-tag | issue:1792028043 |
| 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/8469/issue_layout |
| twitter:image | https://opengraph.githubassets.com/65787b639c961fc656e32f567f071f8dff7344f04cc67253b93e86c471ec3ddd/getsentry/sentry-javascript/issues/8469 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/65787b639c961fc656e32f567f071f8dff7344f04cc67253b93e86c471ec3ddd/getsentry/sentry-javascript/issues/8469 |
| og:image:alt | Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kalvenschraut |
| 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