What to spend on improvements

When you spend $4,000 to renovate a unit, are you looking at how much more per month you get, say $50, and deciding it will take you over 6 years to get back that investment? Or – are you looking at market cap rates, where $50 a month, $600/year, in a 6% cap rate market, produces $10,000 of additional value?