Here's why progress bars on your computer don't load at a steady pace

Why all the stops and starts?
 By 
Sam Haysom
 on 
Here's why progress bars on your computer don't load at a steady pace
Watch Next

Why is it that whenever you have a progress bar pop up on your computer, the thing never runs at a steady speed? Why all the little stops and starts?

This is the question YouTuber Tom Scott dives into for his latest video, which breaks down the many complexities of creating a progress bar that actually runs smoothly.

"An installer might have to download files from the internet, then decompress those files, then save those files along with reading or deleting stuff that's already there, and maybe make some changes to the system settings as well," explains Scott. "Now in theory, a programmer could work out roughly how long each of those processes will take and then bias the progress bar accordingly, but each one of those steps will take different amounts of time on different machines."

Downloading, Scott explains, will vary depending on internet speed, while decompression will be affected by the computer's processor and saving/reading files by its disc speed. Even running a progress bar based on the MB of data that have been transferred can go wrong, he adds, because copying lots of small files can take longer than a few large ones.

And if you factor all of the above in, and try to work it all out it so the bar runs smoothly?

"That could still go wrong," says Scott. "Because the speed of your transfer, or your download, or your complicated video render — all of those speeds could change at any time because of what the device is doing, or what the user's doing."

At the end of the day, Scott argues, maybe it doesn't matter all that much.

"I reckon progress bars should be just a little bit jaggy, because they reflect something that's really happening," he concludes. "And besides, the most important job of a progress bar is not to give an exact, precise estimate of how long's left. It's great if they can, but the most important job is just to reassure the user that yes, things are happening. Progress is being made."

Mashable Image
Sam Haysom

Sam Haysom is the Deputy UK Editor for Mashable. He covers entertainment and online culture, and writes horror fiction in his spare time.


Latest Videos

Stephen Colbert reacts to the Artemis II moon mission
A man in a suit stands on a talk show stage, gesturing.


'The Daily Show' reacts to judge halting Trump's White House ballroom
Desi Lydic presents "The Daily Show" beside an image of Donald Trump.


A24's 'Mother Mary' trailer is worth it for the FKA twigs track
Anne Hathway is dressed in a red pop star outfit with religious overtones in a film still from "Mother Mary."

Jon Stewart has a brutal reaction to Trump waffling about pens
A man in a suit sitting behind a talk show desk looks angry. In the top left is an image of the president holding up a pen.

Stephen Colbert gleefully recaps the best signs at the 'No Kings' protest
A man in a suit stands on a talk show stage, smiling. The caption at the bottom reads, "I like that one."

Riz Ahmed is troublingly intense in new 'SNL UK' promo
A close-up of a man grinning in a slightly creepy way.


The biggest stories of the day delivered to your inbox.
These newsletters may contain advertising, deals, or affiliate links. By clicking Subscribe, you confirm you are 16+ and agree to our Terms of Use and Privacy Policy.
Thanks for signing up. See you at your inbox!