JavaScript Timers, Power Consumption, and Performance

Web Performance Mission City B4
This presentation will be streamed live.
Average rating: ****.
(4.73, 11 ratings)

setTimeout() and setInterval() are part of every web developers’ toolkit. Many use these timers for animations and for deferring actions until later, all without really understanding how timers work and their performance implications.

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.

Photo of Nicholas Zakas

Nicholas Zakas

Box

Nicholas C. Zakas worked at Yahoo! for almost five years, building and defining front-end strategy for some of Yahoo’s largest sites. Nicholas is also the author of several books, including High Performance JavaScript, Professional JavaScript for Web Developers, and Professional Ajax.

Comments on this page are now closed.

Comments

Imran Masud
06/29/2012 10:23am PDT

Could you please give me the link to the presentation ?

Sponsors

Sponsorship Opportunities

For information on exhibition and sponsorship opportunities at the conference, contact Gloria Lombardo at glombardo@oreilly.com

Media Partner Opportunities

For media partnerships, contact mediapartners@ oreilly.com

Press and Media

For media-related inquiries, contact Maureen Jennings at maureen@oreilly.com

Contact Us

View a complete list of Velocity contacts