Profiling visualizes call stacks on every thread throughout execution, automatically capturing function and code line performance data without requiring additional instrumentation. See the exact function calls, files, and line numbers chewing up CPU or causing delays.
Know why your app is slow, down to the line
Don’t just identify slowdowns—understand exactly why they happen. Profile your backend and mobile app code continuously to find performance bottlenecks down to the exact function and line of code.
npm install @sentry/profiling-nodeconst Sentry = require("@sentry/profiling-node");
Sentry.init({
dsn: "https://examplePublicKey@o0.ingest.sentry.io/0",
integrations: [
Sentry.nodeProfilingIntegration(),
],
tracesSampleRate: 1.0,
profilesSampleRate: 1.0,
});Tolerated by 4 million developers.
- Nextdoor
- Instacart
- Atlassian
- Cisco Meraki
- Disney
- Riot Games
No more 30-second time constraints
Profiles can be arbitrarily long with no time constraints. Profile backend services 24/7 to catch intermittent issues, or profile entire user sessions from app launch to checkout completion. Capture the full context you need to debug complex performance problems.
Profiling meets distributed tracing
Profiling seamlessly integrates with Sentry's tracing infrastructure. View profiling data associated with specific spans or across entire traces. Connect high-level operations to low-level code execution for comprehensive debugging context.
Sentry Profiling helped us identify our largest performance bottlenecks and dive deeper into our applications to ensure an optimal level of performance for our customers. We were able to optimize slow database queries and make our API response time 13x faster.