Re:Why the Progress Bar Is Lying to You
by r00fus on Monday February 27, 2012 @07:05PM
(#3641208)
I had a similar problem with a customer that wanted a smooth progressing progress bar for periodic sync process where I had no idea how many actual entries were being sync'd on any given run (the cost of finding out == cost to sync)... the number was almost always more than the previous time.
So what I did was simply calculate how long the previous run took, add 10%, use that as my new baseline, and show progress based on the percentage between. Often this would mean the progress bar went straight from 93% to complete - but this was preferred (better than stalling at 100% for minutes at a time).
Eventually we automated the sync process, and the customer was happier looking at the occasional exception report instead of a progress bar.
So what I did was simply calculate how long the previous run took, add 10%, use that as my new baseline, and show progress based on the percentage between. Often this would mean the progress bar went straight from 93% to complete - but this was preferred (better than stalling at 100% for minutes at a time).
Eventually we automated the sync process, and the customer was happier looking at the occasional exception report instead of a progress bar.