The Best of Velocity - JS Timers, Power Consumption, and Performance
Date: This event took place live on September 07 2012
Presented by: Nicholas C. Zakas
Duration: Approximately 60 minutes.
Questions? Please send email to
This talk explores the browser UI thread and how timers influence it. You'll learn how timers actually work, why they behave the way they do, and whether you're using them in the most efficient manner possible. Learn how timers affect power consumption (especially important on mobile devices and laptops) and how the way timers work has changed over the years to address today's power needs.
You'll also learn how you can use new W3C Performance APIs, requestAnimationFrame() and setImmediate(), instead of timers to get better performance and battery life.
About Nicholas C. Zakas