why loading bars jump around instead of smoothly increasing percent?

135 viewsOtherTechnology

3%. 5%. 34%! 97%! 97… 98…

In: Technology

24 Answers

Anonymous 0 Comments

When performing a loading process, you know that you have a certain number of tasks, so the developers typically just program the loading bar to increase as each task is complete. However, each task can take a different amount of time.

Imagine that you have a to-do list for your day with 10 items on it. As you finish each item, you check it off the list. The first 5 items take 10 minutes, but the remaining items take the rest of the day. As such, you’ll be 50% done with your list in 10 minutes and the remaining 50% takes the rest of the day.

You could have estimated how long each task would take before starting and then tracked your percent complete based on how long it’s been since you started, but what happens if your estimate was incorrect? It’s easier just to keep track of how many items on the list you’ve finished.

You are viewing 1 out of 24 answers, click here to view all answers.