Crossworkers interview question

when to use profiler in Android?