byrd technologies interview question

How would you debug API that started to perform badly?