Skip to content

Conversation

@logaretm
Copy link
Collaborator

@logaretm logaretm commented Nov 11, 2025

Continuation of the work done in #18065

Some bundles are seeing -10% in size reduction, while some see 15% ish. Speed benefits will only be more visible if we fully embrace rolldown and remove any JS plugins.

TODO:

  • Get the build working again repo wide.
  • Get tests to pass ensuring correct export output
  • Remove as many JS plugins as possible
    • Sucrase
    • Replace plugin
    • License
    • TypeScript
    • Terser

Blocked by:

@github-actions
Copy link
Contributor

github-actions bot commented Nov 11, 2025

node-overhead report 🧳

Note: This is a synthetic benchmark with a minimal express app and does not necessarily reflect the real-world performance impact in an application.

Scenario Requests/s % of Baseline Prev. Requests/s Change %
GET Baseline 8,822 - 9,276 -5%
GET With Sentry 1,787 20% 1,699 +5%
GET With Sentry (error only) 6,171 70% 6,110 +1%
POST Baseline 1,205 - 1,174 +3%
POST With Sentry 600 50% 587 +2%
POST With Sentry (error only) 1,047 87% 1,054 -1%
MYSQL Baseline 3,298 - 3,289 +0%
MYSQL With Sentry 496 15% 421 +18%
MYSQL With Sentry (error only) 2,756 84% 2,647 +4%

View base workflow run

@logaretm logaretm force-pushed the tim/awad/use-rolldown branch 5 times, most recently from 315bfc5 to 27c51ee Compare November 17, 2025 09:20
@github-actions
Copy link
Contributor

github-actions bot commented Nov 17, 2025

size-limit report 📦

Path Size % Change Change
@sentry/browser 24.66 kB -0.61% -150 B 🔽
@sentry/browser - with treeshaking flags 23.19 kB -0.52% -119 B 🔽
@sentry/browser (incl. Tracing) 41.35 kB -0.46% -188 B 🔽
@sentry/browser (incl. Tracing, Profiling) 45.89 kB -0.54% -245 B 🔽
⛔️ @sentry/browser (incl. Tracing, Replay) (max: 80 kB) 82.5 kB +3.19% +2.55 kB 🔺
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 69.52 kB -0.24% -167 B 🔽
⛔️ @sentry/browser (incl. Tracing, Replay with Canvas) (max: 85 kB) 103.86 kB +22.72% +19.23 kB 🔺
⛔️ @sentry/browser (incl. Tracing, Replay, Feedback) (max: 97 kB) 99.63 kB +2.84% +2.75 kB 🔺
@sentry/browser (incl. Feedback) 41.59 kB +0.26% +106 B 🔺
@sentry/browser (incl. sendFeedback) 29.33 kB -0.53% -156 B 🔽
@sentry/browser (incl. FeedbackAsync) 34.34 kB -0.38% -130 B 🔽
@sentry/react 26.5 kB -0.08% -19 B 🔽
@sentry/react (incl. Tracing) 43.73 kB -0.03% -11 B 🔽
@sentry/vue 28.96 kB -1% -291 B 🔽
@sentry/vue (incl. Tracing) 42.98 kB -0.84% -360 B 🔽
@sentry/svelte 24.68 kB -0.59% -145 B 🔽
⛔️ CDN Bundle (max: 27.5 kB) 27.95 kB +2.71% +736 B 🔺
⛔️ CDN Bundle (incl. Tracing) (max: 42.5 kB) 43 kB +1.88% +790 B 🔺
⛔️ CDN Bundle (incl. Tracing, Replay) (max: 80 kB) 82.3 kB +4.52% +3.56 kB 🔺
⛔️ CDN Bundle (incl. Tracing, Replay, Feedback) (max: 86 kB) 91.36 kB +8.51% +7.16 kB 🔺
⛔️ CDN Bundle - uncompressed (max: 82 kB) 83.13 kB +3.97% +3.17 kB 🔺
⛔️ CDN Bundle (incl. Tracing) - uncompressed (max: 127 kB) 129.16 kB +3.06% +3.82 kB 🔺
⛔️ CDN Bundle (incl. Tracing, Replay) - uncompressed (max: 245 kB) 259.43 kB +7.49% +18.06 kB 🔺
⛔️ CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed (max: 264 kB) 281.17 kB +10.64% +27.04 kB 🔺
⛔️ @sentry/nextjs (client) (max: 46 kB) 48.23 kB +4.94% +2.27 kB 🔺
@sentry/sveltekit (client) 41.97 kB +0.17% +69 B 🔺
⛔️ @sentry/node-core (max: 52 kB) 52.8 kB +3% +1.54 kB 🔺
⛔️ @sentry/node (max: 160 kB) 160.39 kB +0.54% +861 B 🔺
@sentry/node - without tracing 94.56 kB +1.84% +1.71 kB 🔺
@sentry/aws-serverless 110.14 kB +1.85% +2 kB 🔺

View base workflow run

@logaretm logaretm force-pushed the tim/awad/use-rolldown branch 3 times, most recently from ccb4a8c to 8968ec3 Compare November 19, 2025 21:40
@logaretm logaretm force-pushed the tim/awad/use-rolldown branch 5 times, most recently from 663a78e to be3464b Compare December 4, 2025 11:49
@logaretm logaretm force-pushed the tim/awad/use-rolldown branch 9 times, most recently from d67af6b to a643420 Compare December 4, 2025 20:48
@logaretm logaretm force-pushed the tim/awad/use-rolldown branch from fe36733 to 9d008fd Compare December 5, 2025 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants