Skip to content

Conversation

mydea
Copy link
Member

@mydea mydea commented Sep 19, 2025

We already officially only support es2020, so we may as well also use this as lib & target everywhere.

@mydea mydea self-assigned this Sep 19, 2025
Copy link
Contributor

github-actions bot commented Sep 19, 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,962 - 8,971 -0%
GET With Sentry 1,398 16% 1,358 +3%
GET With Sentry (error only) 6,173 69% 5,964 +4%
POST Baseline 1,221 - 1,185 +3%
POST With Sentry 560 46% 499 +12%
POST With Sentry (error only) 1,082 89% 1,041 +4%
MYSQL Baseline 3,401 - 3,260 +4%
MYSQL With Sentry 477 14% 456 +5%
MYSQL With Sentry (error only) 2,742 81% 2,643 +4%

View base workflow run

@mydea mydea marked this pull request as ready for review September 22, 2025 08:48
@mydea mydea requested a review from a team as a code owner September 22, 2025 08:48
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

m: This concerns all e2e tests: I think it'd make more sense to keep the target at the respective framework's default. If nothing else, this should help us identify incompatibilities that likely also surface in users' apps. WDYT?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this generally is true and we do not need to keep all of these in sync/at latest always. I figured it's OK to adjust this once but no strong feeling, can also keep them as they were!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reverted the e2e test changes :)

Comment on lines +8 to +10
"target": "es2020",
"declarationMap": false,
"lib": ["DOM", "ES2018"],
"lib": ["DOM", "es2020"],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch! Turns out we could have done this a lot sooner for Angular, ever since we switched to NG14 as the min version (https://v14.angular.io/guide/angular-package-format#es2020-language-level).

@mydea mydea force-pushed the fn/use-es2020 branch 2 times, most recently from 447bfa0 to 4f534cf Compare September 22, 2025 09:58
cursor[bot]

This comment was marked as outdated.

Copy link
Contributor

github-actions bot commented Sep 23, 2025

size-limit report 📦

Path Size % Change Change
@sentry/browser 24.26 kB - -
@sentry/browser - with treeshaking flags 22.77 kB - -
@sentry/browser (incl. Tracing) 40.4 kB - -
@sentry/browser (incl. Tracing, Replay) 78.78 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 68.44 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 83.44 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 95.66 kB - -
@sentry/browser (incl. Feedback) 40.97 kB - -
@sentry/browser (incl. sendFeedback) 28.91 kB - -
@sentry/browser (incl. FeedbackAsync) 33.84 kB - -
@sentry/react 25.98 kB - -
@sentry/react (incl. Tracing) 42.38 kB - -
@sentry/vue 28.78 kB - -
@sentry/vue (incl. Tracing) 42.21 kB - -
@sentry/svelte 24.29 kB - -
CDN Bundle 25.77 kB - -
CDN Bundle (incl. Tracing) 40.24 kB - -
CDN Bundle (incl. Tracing, Replay) 76.46 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 81.96 kB - -
CDN Bundle - uncompressed 75.37 kB - -
CDN Bundle (incl. Tracing) - uncompressed 119.13 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 234.25 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 247.02 kB - -
@sentry/nextjs (client) 44.4 kB - -
@sentry/sveltekit (client) 40.82 kB - -
@sentry/node-core 50.02 kB - -
@sentry/node 152.25 kB +0.01% +1 B 🔺
@sentry/node - without tracing 91.94 kB - -
@sentry/aws-serverless 105.39 kB - -

View base workflow run

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.

2 participants