Title: Investigate tree shaking of transaction code when span streaming is used · Issue #22580 · getsentry/sentry-javascript · GitHub
Open Graph Title: Investigate tree shaking of transaction code when span streaming is used · Issue #22580 · getsentry/sentry-javascript
X Title: Investigate tree shaking of transaction code when span streaming is used · Issue #22580 · getsentry/sentry-javascript
Description: Span streaming adds a hefty bundle size increase (~5KB gzip, 2-3KB added via the spanStreamingIntegration, rest is in core code) to the SDK, when enabled. In v11, streaming becomes the default, so the size increase is always there. We sh...
Open Graph Description: Span streaming adds a hefty bundle size increase (~5KB gzip, 2-3KB added via the spanStreamingIntegration, rest is in core code) to the SDK, when enabled. In v11, streaming becomes the default, so ...
X Description: Span streaming adds a hefty bundle size increase (~5KB gzip, 2-3KB added via the spanStreamingIntegration, rest is in core code) to the SDK, when enabled. In v11, streaming becomes the default, so ...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/22580
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Investigate tree shaking of transaction code when span streaming is used","articleBody":"Span streaming adds a hefty bundle size increase (~5KB gzip, 2-3KB added via the `spanStreamingIntegration`, rest is in core code) to the SDK, when enabled. In v11, streaming becomes the default, so the size increase is always there. We should investigate if we can provide a tree shaking flag for bundle-size conscious users that takes care of removing transaction code paths that are \"dead code\" for streaming mode. \n\nThis is also a good exercise for us to determine which code paths we should remove once transactions are no longer supported by the SDK (v12?). Plus it will give us a projection of the since decrease this will yield.","author":{"url":"https://github.com/Lms24","@type":"Person","name":"Lms24"},"datePublished":"2026-07-24T09:00:03Z","url":"https://github.com/getsentry/sentry-javascript/issues/22580"}
| 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:94e30bfc-29b6-1c6a-8256-270accb5dbb4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B94E:1F16DD:2308D3:308D85:6B04395C |
| html-safe-nonce | 01e78a7dfef15935e3ca0c93d93283bd546ecef416a0655be8e3338ae37c9bcd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTRFOjFGMTZERDoyMzA4RDM6MzA4RDg1OjZCMDQzOTVDIiwidmlzaXRvcl9pZCI6IjIxMTE1MTk0NTc2NzQ1NDE0MDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ca2d2408fb1c0bf732e6744597881f1a56da3f9e3da4bb9938dbbd2f13abfdfd |
| hovercard-subject-tag | issue:4966930747 |
| 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/22580/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5e350a46b34da0d25a703aa7291ab0b58c78add2bd22b4ebf0ccd91015f56524/getsentry/sentry-javascript/issues/22580 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5e350a46b34da0d25a703aa7291ab0b58c78add2bd22b4ebf0ccd91015f56524/getsentry/sentry-javascript/issues/22580 |
| og:image:alt | Span streaming adds a hefty bundle size increase (~5KB gzip, 2-3KB added via the spanStreamingIntegration, rest is in core code) to the SDK, when enabled. In v11, streaming becomes the default, so ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Lms24 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64 |
| 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 | 06dc448a76fe4751ac1db26524aefa3aa3e889a8 |
| 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