ROI is an important measure of an investment's performance but it has some drawbacks.