This is a note about Javascript Performance, by reading the amazing book High Performance JavaScript by Nicholas C. Zakas, which helps developers to identify problem and providing better solution, to improve execution time, downloading, interaction with the DOM, page life cycle, and more.

Data Access

Concepts such as the scope chain and prototype chain can affect your overall script performance.

DOM Scripting

DOM interaction is slower than other parts of JavaScript, how repaint and reflow can slow down your code.

Algorithms and Flow Control

Loops and recursion can work against you when it comes to runtime performance.

Strings and Regular Expressions

Poor string-handling performance in browsers, work around methods is explained

Responsive Interfaces

User experience, several techniques is discussed to ensure that the user interface remains responsive at all times.

Ajax

Different data formats can affect Ajax performance and why XMLHttpRequest isn’t always the best choice.

Remark

Evolution of JS

Things affect JS

Original goal of JS

Reference

http://shop.oreilly.com/product/9780596802806.do