Skip to content

ci: Move replay metrics into dedicated package #7115

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 28, 2023
Merged

Conversation

mydea
Copy link
Member

@mydea mydea commented Feb 9, 2023

This moves the replay metrics info packages/metrics.
It also removes the unused demo app inside of replay.

Note that we seem to have a bug with the PR comment creation/update. We've seen it update "random" PRs, we suspect when the develop branch collects metrics.

@mydea
Copy link
Member Author

mydea commented Feb 9, 2023

cc @vaind

@AbhiPrasad
Copy link
Member

Can we rename to something more specific so we don't re-use the namescape of metric?

@mydea
Copy link
Member Author

mydea commented Feb 9, 2023

I renamed it to overhead-metrics!

@@ -37,22 +37,6 @@
"internalConsoleOptions": "openOnSessionStart",
"outputCapture": "std"
},
{
Copy link
Member

Choose a reason for hiding this comment

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

l: I never used these launch scripts so my logaf is practically nonexistent but is there a particular reason to remove them?

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 was more thinking why we would need them 😅

@github-actions
Copy link
Contributor

github-actions bot commented Feb 10, 2023

Replay SDK metrics 🚀

    Plain +Sentry +Replay
Revision Value Value Diff Ratio Value Diff Ratio
LCP This PR 8b5bb61 72.55 ms 106.31 ms +33.76 ms +46.53 % 157.80 ms +85.25 ms +117.50 %
Baseline 4b95c04 74.67 ms 100.14 ms +25.47 ms +34.11 % 132.23 ms +57.56 ms +77.09 %
CLS This PR 8b5bb61 0.06 ms 0.06 ms -0.00 ms -0.81 % 0.06 ms -0.00 ms -1.20 %
Baseline 4b95c04 0.06 ms 0.06 ms -0.00 ms -0.79 % 0.06 ms -0.00 ms -0.47 %
CPU This PR 8b5bb61 16.70 % 16.83 % +0.13 pp +0.77 % 24.47 % +7.77 pp +46.52 %
Baseline 4b95c04 12.32 % 12.48 % +0.16 pp +1.28 % 20.27 % +7.94 pp +64.46 %
JS heap avg This PR 8b5bb61 1.88 MB 2.31 MB +427.81 kB +22.72 % 3.47 MB +1.59 MB +84.44 %
Baseline 4b95c04 1.94 MB 1.99 MB +43.74 kB +2.25 % 2.86 MB +920.88 kB +47.38 %
JS heap max This PR 8b5bb61 2.3 MB 2.7 MB +399.51 kB +17.39 % 3.99 MB +1.69 MB +73.77 %
Baseline 4b95c04 2.3 MB 2.55 MB +249.86 kB +10.85 % 3.35 MB +1.05 MB +45.58 %
netTx This PR 8b5bb61 0 B 0 B 0 B n/a 2.23 kB +2.23 kB n/a
Baseline 4b95c04 0 B 0 B 0 B n/a 2.21 kB +2.21 kB n/a
netRx This PR 8b5bb61 0 B 0 B 0 B n/a 41 B +41 B n/a
Baseline 4b95c04 0 B 0 B 0 B n/a 41 B +41 B n/a
netCount This PR 8b5bb61 0 0 0 n/a 1 +1 n/a
Baseline 4b95c04 0 0 0 n/a 1 +1 n/a
netTime This PR 8b5bb61 0.00 ms 0.00 ms 0.00 ms n/a 107.36 ms +107.36 ms n/a
Baseline 4b95c04 0.00 ms 0.00 ms 0.00 ms n/a 90.32 ms +90.32 ms n/a

Baseline results on branch: develop

RevisionLCPCLSCPUJS heap avgJS heap maxnetTxnetRxnetCountnetTime
e60cd02+56.25 ms-0.00 ms+6.32 pp+927.44 kB+1.06 MB+2.21 kB+41 B+1+117.55 ms
e25c067+48.34 ms+0.00 ms+5.59 pp+926.37 kB+1.05 MB+2.22 kB+41 B+1+65.23 ms
b1b249b+43.88 ms+0.00 ms+4.80 pp+937.99 kB+1.05 MB+2.22 kB+41 B+1+111.56 ms
12e34d4+28.57 ms+0.00 ms+5.77 pp+930.12 kB+1.04 MB+2.26 kB+41 B+1+109.67 ms
c46c56c+65.45 ms-0.00 ms+5.38 pp+930.26 kB+1.07 MB+2.21 kB+41 B+1+91.29 ms
7f4c4ec+56.64 ms-0.00 ms+5.57 pp+927.42 kB+1.06 MB+2.21 kB+41 B+1+110.83 ms
00d2360+55.18 ms+0.00 ms+2.23 pp+934.14 kB+1.05 MB+2.22 kB+41 B+1+71.65 ms

*) pp - percentage points - an absolute difference between two percentages.
Last updated: Tue, 28 Feb 2023 09:56:06 GMT

@github-actions
Copy link
Contributor

github-actions bot commented Feb 22, 2023

size-limit report 📦

Path Size
@sentry/browser - ES5 CDN Bundle (gzipped + minified) 20.11 KB (+0.01% 🔺)
@sentry/browser - ES5 CDN Bundle (minified) 62.49 KB (0%)
@sentry/browser - ES6 CDN Bundle (gzipped + minified) 18.74 KB (+0.01% 🔺)
@sentry/browser - ES6 CDN Bundle (minified) 55.5 KB (0%)
@sentry/browser - Webpack (gzipped + minified) 20.48 KB (-0.01% 🔽)
@sentry/browser - Webpack (minified) 66.94 KB (0%)
@sentry/react - Webpack (gzipped + minified) 20.51 KB (0%)
@sentry/nextjs Client - Webpack (gzipped + minified) 48.04 KB (-0.01% 🔽)
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 27.04 KB (+0.01% 🔺)
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 25.29 KB (0%)
@sentry/replay ES6 CDN Bundle (gzipped + minified) 42.86 KB (+0.2% 🔺)
@sentry/replay - Webpack (gzipped + minified) 36.94 KB (+0.32% 🔺)
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 60.45 KB (+0.18% 🔺)
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 53.99 KB (+0.17% 🔺)

@mydea mydea force-pushed the fn/move-metrics branch 2 times, most recently from f48f598 to 17899df Compare February 27, 2023 12:50
@mydea
Copy link
Member Author

mydea commented Feb 28, 2023

Just FYI I also bumped playwright to 1.31.1 here, as I got some conflicts. cc @lforst @Lms24 @AbhiPrasad if you run into any playwright specific issues 😅

@mydea mydea merged commit e471837 into develop Feb 28, 2023
@mydea mydea deleted the fn/move-metrics branch February 28, 2023 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants