Speed Up Your JavaScript

Google TechTalks3 HN recommenders · 2012–2025
136K views · talk · dated · Uploaded 2009-06-05

A 2009 Google Tech Talk by Nicholas Zakas on the hidden performance pitfalls of JavaScript. It covers what is fast and slow in the language and how to avoid common bottlenecks.

Recommended as a classic JavaScript performance talk whose fundamentals about reflow and efficient code still apply.

Watch on YouTube

3 comments from Hacker News

@malandrew2012 · in “Ask HN: JavaScript Dev Tools”

The only other video that sticks out in mine head is this Google Tech Talk by Nicholas Zakas about javascript performance. [VIDEO] Besides videos, check out Javascript Garden: [LINK] Javascript Weblog: [LINK] Here are some links over on Quora: [LINK] The three books worth getting for someone who is already a programmer are: Crockford's "Javascript: The Good Parts", Stoyan Stefanov's "Javascript Patterns", and Resigs's "Secrets of the Javascript Ninja" IMHO, there are few videos worthwhile.

RecommendsView on HN
@tangue2014 · in “Wonderful Javascript Talks?”

Classics John Resig : The Dom is a mess [LINK] Javascript, The Good Parts [LINK] Speed up your Javascript [VIDEO] Brendan Eich : Fluent 2013: Brendan Eich, "JavaScript at 18: Legal to Gamble" [LINK] Paul Irish : 10 things I learned from the Jquery source [LINK] Less known but very interesting Building High-Performing JavaScript for Modern Engines [LINK]

RecommendsView on HN
@RumourRider2025 · in “Don't animate height”

You need to think about what the browser is actually doing when it displays a web page. You need to think about what happens when you type the URL in and what the browser is doing conceptually. If you have any experience programming 2D graphics with SDL this will help you to understand what is happening as well. There is an old school talk by Nikolas Zakas on JavaScript Performance from 2009 which while some of it is out of date now due to improvements in Browser engines, the fundamental ideas are still the same. [VIDEO] If you skip to the 35 minute mark he speaks about reflow specifically. Generally I still use many of these techniques when writing vanilla JS (which is unfortunately rare these days). There are other talks where he talks about many other performance specific topics. Obviously none of this is as good as real world experience of dealing with a thorny issue.

RecommendsView on HN