getsentry / sentry-javascript

Official Sentry SDKs for JavaScript
https://sentry.io
MIT License
7.95k stars 1.57k forks source link

Configure document-policy: js-profiling has a 30% impact on page load performance. #14016

Open HaoZhouInRC opened 1 week ago

HaoZhouInRC commented 1 week ago

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/react

SDK Version

8.27.0

Framework Version

16

Link to Sentry event

No response

Reproduction Example/SDK Setup

No response

Steps to Reproduce

Configure document-policy: js-profiling has a 30% impact on page load performance.

Expected Result

This exceeds the 5% impact mentioned in the document.

Actual Result

How should I optimize it?

chargome commented 1 week ago

Hi @HaoZhouInRC! Could you share how you measured this performance outcome?

MercuryLiRC commented 4 days ago

Hi @chargome We're gathering the performance tracing data and will be shared with you soon.