Home / Companies / Sentry / Blog / Post Details
Content Deep Dive

Solve code-level bottlenecks with Profiling for Node.js

Blog post from Sentry

Post Details
Company
Date Published
Author
Jonas Badalic
Word Count
1,464
Company Posts That Month
9
Language
English
Hacker News Points
-
Post removed?
No
Summary

We have successfully set up and utilized the @sentry/profiling-node package for Node.js, leveraging Sentry's Performance product to profile our code and identify performance bottlenecks. By setting a sampling rate and instrumenting our services with Sentry, we can collect profiles that provide granular insights into execution time, allowing us to pinpoint slow functions and optimize code. Through profiling, we were able to find issues in test setup code and optimize it without impacting developer experience, as well as identify performance problems outside of our service, such as memory leaks in a third-party library. By enabling profiling, we can halve p75 durations and improve user experience or provide faster feedback loops for developers. With Sentry's Performance product providing the logical next set of information to resolve performance-related issues, we have seen success finding optimization opportunities in all Node.js based projects where profiling was added.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Developer Experience 3 319 130 66 +33%
Observability 2 1,225 214 64 +27%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.