The Joys of Static Memory Javascript

Web Performance, Grand Ballroom East
Average rating: ****.
(4.55, 11 ratings)

High performance applications rely on consistent performance boundaries to ensure a smooth experience for users. Garbage collector systems can short circuit this goal, as they can run at random times for a random duration, eating into the available time that the application needs to meet its performance goals. The key to reducing the amount of time that the Garbage Collector takes from your application lies in eliminating as many cases of excessive object churn as possible. In this talk, attendees will receive practical information about how to minimize this taxation to their apps’ performance.

This talk will first analyze the performance and memory usage patterns of common JS data structures (Lists, dictionaries) and what it may be doing under-the-hood. Secondly, we will discuss processes to analyze your memory usage patterns in order to create proper pre-allocation systems in order to reduce the impact of those data structures. Finally, we will look at new data structures which can help you linearly grow your memory usage to provide flexibility while reducing memory churn.

Attendees will walk away with a practical checklist of Javascript practices to reduce the overhead taken by un-needed garbage collection.

Photo of Colton McAnlis

Colton McAnlis


Colt McAnlis is a Developer Advocate at Google focusing on Chrome Games and Performance; Before that, he was a systems & graphics programmer in the games industry working at Blizzard, Microsoft (Ensemble), and Petroglyph. He’s a UDACITY course professor for HTML5 games, and also spent 4 years as an Adjunct Professor at SMU Guildhall’s school for game development. When he’s not working with developers, Colt spends his time preparing for an invasion of giant ants from outer space. You can follow him on G+ , Twitter, or his Blog


Sponsorship Opportunities

For information on exhibition and sponsorship opportunities at the conference, contact Gloria Lombardo at (203) 381-9245 or

Media Partner Opportunities

For media partnerships, contact mediapartners@

Press and Media

For media-related inquiries, contact Maureen Jennings at

Contact Us

View a complete list of Velocity contacts