Tag Archives: Mozilla Hacks – the Web developer blog

Optimizing JavaScript Performance With Firefox Dev Tools

The Performance tool in Firefox Developer Tools offers a great way to diagnose slow-running JavaScript and provides insight into the general responsiveness and layout performance of your web site.

In this video screencast, I’ll go through the process of how to diagnose issues with slow code and how to fix those issues in your code. Watch me fix for a 2d canvas demo that’s so slow it can barely update after a few seconds. By running a performance analysis, I’ll show you a simple code tweak that makes the demo run well at real-time rates.

Relevant Links