informa
/
1 MIN READ
News

How Riot optimizes the League of Legends codebase

There's an interesting rundown on Riot's techblog of how coders optimize the League of Legends codebase -- specifically, the particle system -- that game programmers may appreciate.
"The safest path to performance gains is via iterative improvements."

- 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

Latest Jobs

IO Interactive

Hybrid (Malmö, Sweden)
3.02.23
Gameplay Director (Project Fantasy)

Arizona State University

Los Angeles, CA, USA
2.27.23
Assistant Professor of XR Technologies

IO Interactive

Hybrid (Copenhagen, Denmark)
3.02.23
Animation Tech Programmer

Purdue University

West Lafayette, IN, USA
3.02.23
Assistant Professor in Game Design and Development
More Jobs   

CONNECT WITH US

Explore the
Advertise with
Follow us

Game Developer Job Board

Game Developer

@gamedevdotcom

Explore the

Game Developer Job Board

Browse open positions across the game industry or recruit new talent for your studio

Browse
Advertise with

Game Developer

Engage game professionals and drive sales using an array of Game Developer media solutions to meet your objectives.

Learn More
Follow us

@gamedevdotcom

Follow us @gamedevdotcom to stay up-to-date with the latest news & insider information about events & more