In my experience, this effect is most noticeable while learning an instrument.
Practice until you start to see diminishing returns, take a short break, and then return to practicing. You’ll notice you’re slightly better than you were before taking a break.