• Wednesday , 18 October 2017

Speed Up Your JavaScript

Code Canyon



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

3d Ocean

Related Posts

25 Comments

  1. Sing Ming Chen
    October 10, 2017 at 23:06

    So amazing, the best tech talk I've seen.

  2. Arbind vishwakarma
    October 10, 2017 at 23:06

    Thanks Nicholas for giving such a important key aspect of javascript.

  3. Simon Ferndriger
    October 10, 2017 at 23:06

    Are the main points in the summary at 46:00 still valid today?

  4. Mahesh Parab
    October 10, 2017 at 23:06

    Very helpful insight of the internals, i liked the way Nicholas explained scope chain and reflows. Thank you.

  5. Levi Roberts
    October 10, 2017 at 23:06

    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.

  6. Eric Peeters
    October 10, 2017 at 23:06

    @34:05
    addChild is supposed to be appendChild?

  7. Senthil Chandramohan
    October 10, 2017 at 23:06

    Excellent Session!… kudos.. keep them coming 🙂

  8. graczmisiek
    October 10, 2017 at 23:06

    Valuable tips and unique sense of humour.

  9. yuan wang
    October 10, 2017 at 23:06

    Cool, Very Informative. 

  10. Ramanathan S.P.
    October 10, 2017 at 23:06

    Cool.. Thanks. That helped me a lot.

  11. Michael Scott Hertzberg
    October 10, 2017 at 23:06

    scratch that. Chrome 2 beta.

  12. Michael Scott Hertzberg
    October 10, 2017 at 23:06

    the sick part is that this was 4 years ago, showing a chart with Chrome 3 beta, and I'm using Chrome 29 as we speak.

  13. Radu Andrei
    October 10, 2017 at 23:06

    Very informative talk!

  14. Steven Mildred
    October 10, 2017 at 23:06

    Great suggestions, didn't really think of these ideas to speed up JS.

  15. guitarsecretary
    October 10, 2017 at 23:06

    Am I the only one hearing weird noises in the background of this video?

  16. Yahiko Uzumaki
    October 10, 2017 at 23:06

    Really interesting speech.
    I need to optimize my DOM accesses now.

  17. Sudeep Makwana
    October 10, 2017 at 23:06

    You R One Of Best @Zakas…. i m your Fan ….

  18. Lilian
    October 10, 2017 at 23:06

    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…

  19. Hexus
    October 10, 2017 at 23:06

    Awesome talk, a great insight into the caveats of JavaScript. I have so many loops to optimise in my game now…

  20. Muru Roa
    October 10, 2017 at 23:06

    How much of this is still relevant with the latest JS engines? (Chrome 26, IE10, FF19…)

  21. Charles Phillips
    October 10, 2017 at 23:06

    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!

  22. Yve Gotnone
    October 10, 2017 at 23:06

    Great suggestions for the loops! Would've never thought to flip them if it wasn't for this presentation

  23. Vic Vlasenko
    October 10, 2017 at 23:06

    good job.
    51:30
    if there are a lot of global variables (I saw >200 in some apps) it works 2-3 times faster, when grouping them into an object

  24. Rick Beacham
    October 10, 2017 at 23:06

    Hey where did you get that profile picture from? I recognize it from another site.

  25. Rick Beacham
    October 10, 2017 at 23:06

    Good presentation. Learned alot.

Leave A Comment

You must be logged in to post a comment.