Someone has figured out how to reduce GTA Online's load times by almost 70%

GTA Online
(Image credit: Rockstar)

Grand Theft Auto 5's loading times have been the butt of many a joke over the last seven years—even the beefiest of PCs will leave players twiddling their thumbs while that blonde lady throws a peace sign at her phone for the millionth time. The agonising wait has led one savvy player to delve into the game's code, and with some tweaking has managed to reduce the loading times by almost 70%.

GitHub user tostercx has uploaded the fixed code, though they do warn that it's more of a proof of concept and not intended for casual use. They were also kind enough to provide a breakdown of the entire process.

The lengthy loading times—tostercx experienced a six minute wait for GTA Online to boot up—are, in part, attributed to some terribly optimised code and a 10MB JSON file containing 63,000 item entries. Every time an item is found, the check then runs again… and again. tostercx estimated that this leads to around 1,984,531,500 checks.

This, along with the fact the game was only loading from a single core on tostercx's CPU, appear to be the biggest bottlenecks. But after a couple of fixes that optimised the code, tostercx was able to reduce the loading time to a much more digestible one minute and 50 seconds, a 69.4% improvement on the original time. 

It's a huge reduction, which tostercx claims shouldn't take "more than a day for a single dev to solve." They even leave some suggestions for Rockstar, ones which hopefully will be acted on—though it's doubtful given how long players have put up with long load times already.

If you're still diving into Los Santos, why not use those impossibly long loading times to check out some of our GTA Online guides, like how to make money quickly or the speediest cars that deserve a place in your virtual garage?

Image

GTA 6: All the rumors
GTA 5 mods: Revved up
GTA 5 cheats: Phone it in
San Andreas cheats: All the codes

PRODUCTS
Mollie Taylor
Features Producer

Mollie spent her early childhood deeply invested in games like Killer Instinct, Toontown and Audition Online, which continue to form the pillars of her personality today. She joined PC Gamer in 2020 as a news writer and now lends her expertise to write a wealth of features, guides and reviews with a dash of chaos. She can often be found causing mischief in Final Fantasy 14, using those experiences to write neat things about her favourite MMO. When she's not staring at her bunny girl she can be found sweating out rhythm games, pretending to be good at fighting games or spending far too much money at her local arcade.  

Read more
Michael sunbathing in GTA V
3 years later, GTA 5’s Enhanced edition finally comes to PC, and it’s somehow 22GB smaller than GTA 5 Cool Original flavour
Grand Theft Auto 5
GTA 5's next-gen update finally has a March PC release date a mere 3 years after it prettied-up the console versions
GTA 5 Enhanced
Grand Theft Auto 5 Enhanced is a bitter-sweet return to Rockstar's money-making machine
Grand Theft Auto 5
How to transfer your GTA 5 save file to GTA 5 Enhanced and accept Rockstar's Online Policies if needed
GTA 5
It's time we talked about how wild it is to be a pedestrian in GTA 5
GTA 5 characters
A full list of every GTA 5 cheat, code, and phone number for spawning the best vehicles or flaming bullets
Latest in Grand Theft Auto
gta 6 trailer
Publishers 'don't want to be anywhere near' Grand Theft Auto 6 when it launches: 'It's proving to be very stressful'
A man with purple hair and face tattoos poses for a mugshot in the GTA 6 trailer.
Playable GTA 6 map nuked without warning by Take-Two lawyers: 'My guess is that the map was probably a little too accurate'
Grand Theft Auto 6 trailer still - woman in the front seat of a car, looking out the back window while holding a wad of cash
The specter of a GTA 6 delay haunts the games industry: 'Some companies are going to tank' if they guess wrong, says analyst
A man holding a gun drives a boat as money flies out the back in GTA Online
Rockstar hornswoggles lapsed GTAO players with $3 million welcome-back offer that actually requires you to spend money to get most of it
GTA 5 characters
GTA 5 publisher takes legal aim at account-selling site for allegedly raking in 'millions in revenue', while recruiting hackers to keep its cogs turning
GTA 5 Enhanced
Grand Theft Auto 5 Enhanced is a bitter-sweet return to Rockstar's money-making machine
Latest in News
A long bendy arm stealing money from people in a subway car
'You're a very long arm. You steal things. It's a comedy game,' explains developer of comedy game where you steal things with a very long arm
The heroes are attacked by monsters
Pillars of Eternity is getting turn-based combat to mark its 10th anniversary, and that means PC Gamer editors will soon be arguing about combat mechanics again
Image of Ronaldo from Fatal Fury: City of the Wolves trailer
It doesn't really make sense that soccer star Ronaldo is now a Fatal Fury character, but if you follow the money you can see how it happened
Junah beginning a battle in Metaphor: ReFantazio.
Today's RPG fans are 'very sensitive to feeling like they wasted time' when they die, says Metaphor: ReFantazio battle planner—but Atlus still made combat hard anyway
Image of Cersei Lanniser from Game of Thrones: Kingsroad Steam early access trailer
A new Game of Thrones RPG is coming to Steam today with a cast of 'familiar faces,' which is good because it's really the only way to tell it's a GoT game at all
The new Prime Asset featured in the upcoming update for the Outlast Trials.
The Outlast Trials puts its already paranoid players under surveillance for a time-limited story event