Cisco interview question

An application(large single binary) is running very slow. How will you diagnose this issue.