Being busy and doing work are two very different things. Mistaking one for the other gets us nothing at the end of the day (other than exhaustion).
If you're doing work and producing something valuable, then how long it took is irrelevant.
It took as long as you needed to make something awesome. Remember: motion and progress are not the same thing.