Fix performance API check