A Tech Mahindra client is facing performance issues with their application. How would you diagnose and resolve this?