First, Let’s Look At How Progress Bars Work
A progress bar is made by slapping on a dialog and putting a bar in it. That bar fills up according to the percentage of progress made in accomplishing a task, hence the name “progress bar.” Programmers make progress bars tick by attributing certain milestones during a task to a percentage. So, once a progress bar reaches the third part of a task containing 100 parts, it knows it has to fill itself only three percent. Sometimes, programmers can also put a timer on their progress bars. This will (always inaccurately) determine how much time a specific task will take until it finishes. Using the previous example, let’s say that the first three parts of our 100-part task was done in three seconds. That leaves one minute and 37 seconds (97 seconds total) remaining. But this stuff functions only in a perfect world. I’ll explain below.
Why The Bar’s Stuck
Progress bars are notorious for being stuck at certain points. It’s awfully frustrating, but there’s a reason behind all the madness. When a progress bar measures the progress of a task, it uses certain criteria. For example, let’s say we’re copying 1,000 files. Each of those files probably has a different size. Some people would divide 1,000 by 100. It sounds nice, but doesn’t account for differences in file size. Some files could be a couple of MB, while others could be up to 10 GB!
You can also divide the total size of all the files by 100. It sounds practical and more accurate, but it’s still a dud. The method doesn’t account for the speed fluctuations a hard drive experiences when copying different types of files, or when copying files while performing other short tasks. In the end, you end up with a bar that just shows you how far you’ve gone, but not how much you can expect to wait for the task to finish. Hard drives tend to copy smaller files (or larger, but physically fragmented, files) slower than it copies bigger chunks of data. That’s because the process of seeking new segments within its physical platters is more tedious when accessing 100 small files as compared to the process of hunting down two huge chunks of a larger file. The same could be said about registry entries. They vary in length and sophistication.
Some Final Thoughts
Practically everything on your computer has so many variables attached to it, that it’s impossible to accurately determine the progress of a task. You’re left with a useless bar on your screen that’s just there to keep you from throwing a fit. The fight’s over. Your stubborn computer will always win over any attempt to accurately predict something that, in a vacuum, would otherwise have completed in a timely manner. You really can’t do anything about your progress bars, but at least you know why they act in such frustrating ways! Oh, and here’s an interesting little game related to progress bars: Progress Wars. If you can think of more accurate ways to predict tasks, be sure to leave a comment below! Dark loading or progress bar by BigStockPhoto