Skip to content

chore(build): Use Rolldown#18156

Draft
logaretm wants to merge 5 commits intodevelopfrom
tim/awad/use-rolldown
Draft

chore(build): Use Rolldown#18156
logaretm wants to merge 5 commits intodevelopfrom
tim/awad/use-rolldown

Conversation

@logaretm
Copy link
Member

@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
  • Wait for TS 3.8 Derprecation Drop TypeScript 3.8 support #18477

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 9,443 - 10,979 -14%
GET With Sentry 1,746 18% 1,810 -4%
GET With Sentry (error only) 6,257 66% 7,340 -15%
POST Baseline 1,219 - 1,076 +13%
POST With Sentry 614 50% 539 +14%
POST With Sentry (error only) 1,074 88% 957 +12%
MYSQL Baseline 3,398 - 3,800 -11%
MYSQL With Sentry 470 14% 453 +4%
MYSQL With Sentry (error only) 2,762 81% 3,032 -9%

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 25.28 kB -0.62% -156 B 🔽
@sentry/browser - with treeshaking flags 23.78 kB -0.47% -110 B 🔽
@sentry/browser (incl. Tracing) 42.03 kB -0.57% -237 B 🔽
@sentry/browser (incl. Tracing, Profiling) 46.65 kB -0.6% -281 B 🔽
⛔️ @sentry/browser (incl. Tracing, Replay) (max: 82 kB) 83.34 kB +3.02% +2.44 kB 🔺
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 70.31 kB -0.26% -183 B 🔽
⛔️ @sentry/browser (incl. Tracing, Replay with Canvas) (max: 86 kB) 104.71 kB +22.31% +19.1 kB 🔺
⛔️ @sentry/browser (incl. Tracing, Replay, Feedback) (max: 98 kB) 100.49 kB +2.76% +2.7 kB 🔺
@sentry/browser (incl. Feedback) 42.22 kB +0.17% +69 B 🔺
@sentry/browser (incl. sendFeedback) 29.96 kB -0.52% -154 B 🔽
@sentry/browser (incl. FeedbackAsync) 34.99 kB -0.39% -134 B 🔽
@sentry/browser (incl. Metrics) 26.33 kB -0.8% -211 B 🔽
@sentry/browser (incl. Logs) 26.51 kB -0.69% -182 B 🔽
@sentry/browser (incl. Metrics & Logs) 27.15 kB -0.74% -202 B 🔽
@sentry/react 27.13 kB -0.12% -31 B 🔽
@sentry/react (incl. Tracing) 44.43 kB -0.22% -95 B 🔽
@sentry/vue 29.55 kB -1.08% -320 B 🔽
@sentry/vue (incl. Tracing) 43.66 kB -0.98% -430 B 🔽
@sentry/svelte 25.31 kB -0.57% -143 B 🔽
⛔️ CDN Bundle (max: 28 kB) 28.67 kB +2.5% +698 B 🔺
CDN Bundle (incl. Tracing) 43.8 kB +1.75% +753 B 🔺
⛔️ CDN Bundle (incl. Logs, Metrics) (max: 29 kB) 29.57 kB +2.61% +751 B 🔺
⛔️ CDN Bundle (incl. Tracing, Logs, Metrics) (max: 44 kB) 44.68 kB +1.86% +813 B 🔺
⛔️ CDN Bundle (incl. Replay, Logs, Metrics) (max: 69 kB) 71.25 kB +5.15% +3.49 kB 🔺
⛔️ CDN Bundle (incl. Tracing, Replay) (max: 80 kB) 83.29 kB +4.39% +3.5 kB 🔺
⛔️ CDN Bundle (incl. Tracing, Replay, Logs, Metrics) (max: 81 kB) 84.15 kB +4.32% +3.48 kB 🔺
⛔️ CDN Bundle (incl. Tracing, Replay, Feedback) (max: 86 kB) 92.35 kB +8.36% +7.12 kB 🔺
⛔️ CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) (max: 87 kB) 93.25 kB +8.25% +7.11 kB 🔺
⛔️ CDN Bundle - uncompressed (max: 82 kB) 85.11 kB +4.03% +3.29 kB 🔺
⛔️ CDN Bundle (incl. Tracing) - uncompressed (max: 128 kB) 131.47 kB +3.1% +3.95 kB 🔺
⛔️ CDN Bundle (incl. Logs, Metrics) - uncompressed (max: 86 kB) 87.9 kB +3.85% +3.25 kB 🔺
⛔️ CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed (max: 131 kB) 134.26 kB +3% +3.91 kB 🔺
⛔️ CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed (max: 209 kB) 225.71 kB +8.51% +17.68 kB 🔺
⛔️ CDN Bundle (incl. Tracing, Replay) - uncompressed (max: 245 kB) 261.93 kB +7.3% +17.8 kB 🔺
⛔️ CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed (max: 250 kB) 264.72 kB +7.2% +17.77 kB 🔺
⛔️ CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed (max: 264 kB) 283.71 kB +10.43% +26.78 kB 🔺
⛔️ CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed (max: 264 kB) 286.49 kB +10.31% +26.75 kB 🔺
⛔️ @sentry/nextjs (client) (max: 47 kB) 49.08 kB +4.71% +2.21 kB 🔺
@sentry/sveltekit (client) 42.7 kB +0.11% +44 B 🔺
⛔️ @sentry/node-core (max: 53 kB) 53.77 kB +3.05% +1.59 kB 🔺
⛔️ @sentry/node (max: 167 kB) 167.1 kB +0.49% +807 B 🔺
⛔️ @sentry/node - without tracing (max: 95 kB) 95.73 kB +1.88% +1.76 kB 🔺
⛔️ @sentry/aws-serverless (max: 111 kB) 111.56 kB +1.9% +2.08 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 10 times, most recently from fe36733 to 9d008fd Compare December 5, 2025 15:27
@logaretm logaretm force-pushed the tim/awad/use-rolldown branch 3 times, most recently from 1a341ab to 5bebf07 Compare December 11, 2025 22:39
@logaretm logaretm force-pushed the tim/awad/use-rolldown branch 4 times, most recently from 0117342 to b4f9fcf Compare December 25, 2025 13:43
@logaretm logaretm force-pushed the tim/awad/use-rolldown branch 2 times, most recently from 77e5273 to a62ff66 Compare January 12, 2026 14:44
@logaretm logaretm force-pushed the tim/awad/use-rolldown branch from a62ff66 to a41bbf0 Compare January 20, 2026 15:22
@logaretm logaretm force-pushed the tim/awad/use-rolldown branch from 53bc0f1 to 8078e24 Compare January 27, 2026 16:59
@logaretm logaretm force-pushed the tim/awad/use-rolldown branch from 8078e24 to 08b053f Compare February 4, 2026 18:19
@logaretm logaretm force-pushed the tim/awad/use-rolldown branch from 08b053f to 0c66daf Compare February 4, 2026 18:35
@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2026

Codecov Results 📊


Generated by Codecov Action

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.

1 participant