How much time is “enough time” for a task?

Your task gets completed at any time duration you allocate. If you allocate too much time to it, you end up doing unnecessary tinkering & tweaking to the task (over-perfecting) until the time allocated gets over. On the other hand, regardless of how much shorter the time is allocated for a task, it gets over within that.