Closed
Description
Problem Statement
It seems like @sentry/tracing
is a direct dependency of @sentry/node
due to only this single line:
This has a number of downsides:
- There are side effects that users will be unaware of
- The Node performance docs are outdated saying you need to import
@sentry/tracing
@sentry/tracing
now accounts for nearly 50% of the Node SDK init time- Run this to get cpu profile:
node --cpu-prof -e "require('@sentry/node').init({dsn:'http://some@real.dsn/123'})"
- Run this to get cpu profile:
Solution Brainstorm
Inline that code?