sentry-javascript icon indicating copy to clipboard operation
sentry-javascript copied to clipboard

Adding sentry to Remix increases latency by a lot

Open aon opened this issue 8 months ago • 8 comments

Is there an existing issue for this?

  • [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
  • [X] I have reviewed the documentation https://docs.sentry.io/
  • [X] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/remix

SDK Version

8.6.0

Framework Version

2.9.1

Link to Sentry event

No response

SDK Setup

No response

Steps to Reproduce

  1. Create a remix project with express as backend
  2. Add sentry to your project following instructions in https://docs.sentry.io/platforms/javascript/guides/remix/manual-setup/#installation
  3. Add a loader to a page
  4. Build and start application
  5. See how latency increases

Expected Result

As we're using a localhost environment, latency should be in the order of 1 ms.

image

Actual Result

Latency is in the order of 200/300ms.

image

aon avatar May 29 '24 16:05 aon