Have a development question and can’t find the answer? In our Ask a Dev column, a developer from https://sentry.io/welcome/ will answer your questions about languages, frameworks, testing, performance monitoring or whatever topic is on your mind.

Question: I’m already familiar with writing performance tests as part of the development cycle and am unsure whether https://docs.sentry.io/product/profiling/ will provide further benefit. What are the reasons to profile in production rather than just writing performance tests?

Performance tests need to exercise many possible code paths in your application, and reproducing all possible code paths can be impractical.

Related Articles