Skip to content

Conversation

chargome
Copy link
Member

Adds a test for v8 middleware + runs all tests on latest version

@chargome chargome self-assigned this Sep 25, 2025
@chargome chargome marked this pull request as ready for review September 25, 2025 13:37
cursor[bot]

This comment was marked as outdated.

…ork/tests/performance/middleware.server.test.ts

Co-authored-by: Andrei <168741329+andreiborza@users.noreply.github.com>
Copy link
Contributor

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.43 kB - -
@sentry/browser (incl. Tracing, Replay) 78.81 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 68.48 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 83.48 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 95.69 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.41 kB - -
@sentry/vue 28.78 kB - -
@sentry/vue (incl. Tracing) 42.24 kB - -
@sentry/svelte 24.29 kB - -
CDN Bundle 25.77 kB - -
CDN Bundle (incl. Tracing) 40.33 kB - -
CDN Bundle (incl. Tracing, Replay) 76.56 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 82.05 kB - -
CDN Bundle - uncompressed 75.37 kB - -
CDN Bundle (incl. Tracing) - uncompressed 119.39 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 234.51 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 247.27 kB - -
@sentry/nextjs (client) 44.42 kB - -
@sentry/sveltekit (client) 40.85 kB - -
@sentry/node-core 50.02 kB +0.01% +1 B 🔺
@sentry/node 153.06 kB -0.01% -1 B 🔽
@sentry/node - without tracing 91.94 kB +0.73% +659 B 🔺
@sentry/aws-serverless 105.39 kB - -

View base workflow run

Copy link
Contributor

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.
⚠️ Warning: Base artifact is not the latest one, because the latest workflow run is not done yet. This may lead to incorrect results. Try to re-run all tests to get up to date results.

Scenario Requests/s % of Baseline Prev. Requests/s Change %
GET Baseline 8,880 - 8,761 +1%
GET With Sentry 1,386 16% 1,330 +4%
GET With Sentry (error only) 6,127 69% 6,030 +2%
POST Baseline 1,206 - 1,165 +4%
POST With Sentry 552 46% 496 +11%
POST With Sentry (error only) 1,061 88% 1,050 +1%
MYSQL Baseline 3,356 - 3,291 +2%
MYSQL With Sentry 515 15% 444 +16%
MYSQL With Sentry (error only) 2,716 81% 2,662 +2%

View base workflow run

@chargome chargome merged commit 48882d2 into develop Sep 26, 2025
188 of 189 checks passed
@chargome chargome deleted the cg-rr-middleware-e2e branch September 26, 2025 08:09
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