HomeProgrammingHow Riot optimizes the...

How Riot optimizes the League of Legends codebase

– Programmer Tony Albrecht, who helped Riot optimize the League of Legends codebase

Riot Games’ engineering blog has been humming along for a few months now, and this week it published an interesting rundown of how coders optimize the League of Legends codebase — specifically, the particle system — that game programmers may appreciate.

The post is attributed to Tony Albrecht, a coder based in Australia, and it outlines how he worked with a team to identify and isolate chunks of the game’s code that create bottlenecks, then create and test a modest iteration of that code with improved performance — without foiling the intent of the original programmer.

“One of the most important things I’ve learned as a programmer is to respect the code that you’re working on,” writes Albrecht. “The code may look crazy, but it was probably written that way for a very good reason. Don’t dismiss existing code as being stupid until you completely understand how it’s being used and what it was designed for.”

Albrecht’s full post is worth reading over on Riot’s techblog, if only for the sweet code snippets and examples of how the Riot engineering team uses VTune and other tools in optimizing their flagship title.

   League of Legends’ particle thread seen through the lens of VTune

Most Popular

LEAVE A REPLY

Please enter your comment!
Please enter your name here

More from Author

Sketchfab mandates AI disclosure, Epic Games accounts

Asset store Sketchfab will now require a "CreatedWithAI" label on all...

Becoming One with Nature Takes Time and a Lot of Yoga says Pauline Jacobs

The increase in overall pollution that the planet has seen during...

Contributing to a Brighter Future by Volunterring For Environmental Societies

The increase in overall pollution that the planet has seen during...

Letting Loose and Having Fun in the Rural Villages Along the Seine in France

The increase in overall pollution that the planet has seen during...

Read Now

Sketchfab mandates AI disclosure, Epic Games accounts

Asset store Sketchfab will now require a "CreatedWithAI" label on all models created by generative AI, as well as Epic Games accounts.Via a press release, the company announced an update to its Terms of Use starting December 11, 2025. For starters, new users who sign up to...

Becoming One with Nature Takes Time and a Lot of Yoga says Pauline Jacobs

The increase in overall pollution that the planet has seen during the past few years has impacted the planet in such a way that it caused a ripple effect to happen in various domains. This is exactly why right now is the moment in which all of...

Contributing to a Brighter Future by Volunterring For Environmental Societies

The increase in overall pollution that the planet has seen during the past few years has impacted the planet in such a way that it caused a ripple effect to happen in various domains. This is exactly why right now is the moment in which all of...

Letting Loose and Having Fun in the Rural Villages Along the Seine in France

The increase in overall pollution that the planet has seen during the past few years has impacted the planet in such a way that it caused a ripple effect to happen in various domains. This is exactly why right now is the moment in which all of...

Exploring the Coral Reefs to Understand How Pollution Has Impacted Aquatic Life

The increase in overall pollution that the planet has seen during the past few years has impacted the planet in such a way that it caused a ripple effect to happen in various domains. This is exactly why right now is the moment in which all of...

Cultivating an Entire Garden Over the Course of a Year and Growing it to Maturity

The increase in overall pollution that the planet has seen during the past few years has impacted the planet in such a way that it caused a ripple effect to happen in various domains. This is exactly why right now is the moment in which all of...

Hitchhiking from one Side of the Country to the Other while on a Tight Schedule

The increase in overall pollution that the planet has seen during the past few years has impacted the planet in such a way that it caused a ripple effect to happen in various domains. This is exactly why right now is the moment in which all of...

What Happens when you Lose Yourself in an Unknown, Foreign Country? Advice and Tips

The increase in overall pollution that the planet has seen during the past few years has impacted the planet in such a way that it caused a ripple effect to happen in various domains. This is exactly why right now is the moment in which all of...

Take a Deep Dive into the Alternate Lifestyle of Paris, France, with Kelly Laurence

The increase in overall pollution that the planet has seen during the past few years has impacted the planet in such a way that it caused a ripple effect to happen in various domains. This is exactly why right now is the moment in which all of...

A Photo Book with Andreea Martini Following her Trip from one Side of the US to the Other

The increase in overall pollution that the planet has seen during the past few years has impacted the planet in such a way that it caused a ripple effect to happen in various domains. This is exactly why right now is the moment in which all of...

Discovering a Different Side of Laura Parks in a Beautiful Place Downtown, San Francisco

The increase in overall pollution that the planet has seen during the past few years has impacted the planet in such a way that it caused a ripple effect to happen in various domains. This is exactly why right now is the moment in which all of...

Arts and Crafts – a Very Relaxing Hobby for the Kids Stuck at Home with Online Classes

The increase in overall pollution that the planet has seen during the past few years has impacted the planet in such a way that it caused a ripple effect to happen in various domains. This is exactly why right now is the moment in which all of...