Performance bottlenecks
How to find a performance bottleneck using CPU profiling?
Let us assume there is a task in your application that you want to profile.
- Run application with profiling enabled
- Connect to application
- Start CPU profiling right before the task is started
- Wait until the task finishes or performs long enough
- Capture CPU snapshot
- Open the snapshot and use CPU view
