Having high happiness increases the rate of friendship. I maxed the happiness of my Budew after I caught it, and it evolved very soon after. At the same time, I had another Budew, but didn’t increase its happiness at all, and it evolved 2 days later.