Skip to content

ci: Move replay metrics into dedicated package - #7115

Merged
mydea merged 2 commits into
developfrom
fn/move-metrics
Feb 28, 2023
Merged

ci: Move replay metrics into dedicated package#7115
mydea merged 2 commits into
developfrom
fn/move-metrics

Conversation

@mydea

@mydeamydea commented Feb 9, 2023

Copy link
Copy Markdown
Member

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

mydea commented Feb 9, 2023

Copy link
Copy Markdown
MemberAuthor

cc @vaind

@AbhiPrasad

Copy link
Copy Markdown
Contributor

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

@mydea

mydea commented Feb 9, 2023

Copy link
Copy Markdown
MemberAuthor

I renamed it to overhead-metrics!

Comment thread.vscode/launch.json
"internalConsoleOptions": "openOnSessionStart",
"outputCapture": "std"
},
{

Copy link
Copy Markdown
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
Copy Markdown
MemberAuthor

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

github-actionsBot commented Feb 10, 2023

Copy link
Copy Markdown
Contributor

Replay SDK metrics 🚀

Plain+Sentry+Replay
RevisionValueValueDiffRatioValueDiffRatio
LCPThis PR 8b5bb6172.55 ms106.31 ms+33.76 ms+46.53 %157.80 ms+85.25 ms+117.50 %
Baseline 4b95c0474.67 ms100.14 ms+25.47 ms+34.11 %132.23 ms+57.56 ms+77.09 %
CLSThis PR 8b5bb610.06 ms0.06 ms-0.00 ms-0.81 %0.06 ms-0.00 ms-1.20 %
Baseline 4b95c040.06 ms0.06 ms-0.00 ms-0.79 %0.06 ms-0.00 ms-0.47 %
CPUThis PR 8b5bb6116.70 %16.83 %+0.13 pp+0.77 %24.47 %+7.77 pp+46.52 %
Baseline 4b95c0412.32 %12.48 %+0.16 pp+1.28 %20.27 %+7.94 pp+64.46 %
JS heap avgThis PR 8b5bb611.88 MB2.31 MB+427.81 kB+22.72 %3.47 MB+1.59 MB+84.44 %
Baseline 4b95c041.94 MB1.99 MB+43.74 kB+2.25 %2.86 MB+920.88 kB+47.38 %
JS heap maxThis PR 8b5bb612.3 MB2.7 MB+399.51 kB+17.39 %3.99 MB+1.69 MB+73.77 %
Baseline 4b95c042.3 MB2.55 MB+249.86 kB+10.85 %3.35 MB+1.05 MB+45.58 %
netTxThis PR 8b5bb610 B0 B0 Bn/a2.23 kB+2.23 kBn/a
Baseline 4b95c040 B0 B0 Bn/a2.21 kB+2.21 kBn/a
netRxThis PR 8b5bb610 B0 B0 Bn/a41 B+41 Bn/a
Baseline 4b95c040 B0 B0 Bn/a41 B+41 Bn/a
netCountThis PR 8b5bb61000n/a1+1n/a
Baseline 4b95c04000n/a1+1n/a
netTimeThis PR 8b5bb610.00 ms0.00 ms0.00 msn/a107.36 ms+107.36 msn/a
Baseline 4b95c040.00 ms0.00 ms0.00 msn/a90.32 ms+90.32 msn/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

github-actionsBot commented Feb 22, 2023

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize
@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
mydeaforce-pushed the fn/move-metrics branch 2 times, most recently from f48f598 to 17899dfCompareFebruary 27, 2023 12:50
@mydea

Copy link
Copy Markdown
MemberAuthor

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 developFeb 28, 2023
@mydea
mydea deleted the fn/move-metrics branch February 28, 2023 10:28
Sign up for freeto 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

@mydea@AbhiPrasad@Lms24