Speed Up Your JavaScript




Google Tech Talk
June 4, 2009

ABSTRACT

Web Exponents: Speed Up Your JavaScript
Presented by Nicholas C. Zakas.

As an interpreted language, JavaScript is filled with hidden performance issues that conspire to slow down your code and ruin the user experience. Learn exactly what is fast, what is slow, and what you can do to squeeze that last bit of performance out of your JavaScript code.

Nicholas C. Zakas is the author of Professional JavaScript for Web Developers, 2nd Edition (Wrox, 2009), co-author of Professional Ajax, 2nd Edition (Wrox, 2007), and a contributor to Even Faster Web Sites (O’Reilly, 2009). Nicholas is principal front end engineer for the Yahoo! homepage and is also a contributor to the Yahoo! User Interface (YUI) library.

The Web Exponents Series is hosted by Steve Souders

Original source


25 responses to “Speed Up Your JavaScript”

  1. Premature optimization is still a big thing. You generally don't have to worry about these things most of the time. Only optimize when you need to. Usually disk I/O, network, etc are the bottlenecks you have to worry about most of the time.

  2. That's the thing. Now with JIT compilers, how relevant is this?
    The DOM thing for sure didn't change but the rest…
    For example, the depth navigation should not be a problem with a compiler now…
    I am interested too…

  3. I knew about scope chain and the need to always declare var to stay local (otherwise it becomes a global variable and that's SLOW [not to mention being at greater risk of collision!]), but there's a LOT in this that I never knew about!

Leave a Reply