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.

More SDKs...
Copied!Click to Copy
npm install @sentry/profiling-node
Copied!Click to Copy
const 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

See exactly what is consuming resources

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.

Learn More

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.

Learn More

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.

Read the Docs

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.

Thomas Hockaday

Lead Engineer,

Intelligence Fusion

Chat with our docs

Try asking: “Are web vitals automatically instrumented?” or “How does performance monitoring work in Sentry?”