Allstate interview question

How will you debug and get to the reason why your application is slow