A short book at around 200 pages this book will give the reader a solid grounding in improving their Javascript, both in writing code and its integration with its environment. High performance Javascript isn't just about getting a program out of the door, given its interaction with elements of a web page - the DOM - and the network infrastructure, there is much more to consider.
The book builds on the basis of Steve Souders' book "High Performance Web Sites", indeed chapter one is an extension of several of the rules in that book. This book takes each aspect of the environment and shows its impact on code speed: Manipulating the DOM is time expensive so do this work away from the document then just add the resulting fragment back is one example. Each tip is backed up by figures showing the resultant speed benefits. Who would have thought that the "for ... in ..." loop was up to seven times slower than other looping constructs for example? The chapter on regular expressions is a particular eye-opener.
The book also takes in to account the differences between the various Javascript interpreters and the effects that optimisations have on each of them, some improvements in one browser may slow things down in another. Traditional programming optimisations are also covered and in this respect Javascript is little different to many other languages. The final two chapters are more concerned with factors outside the code, deployment and tools, and feel a little out of place, there is no need for the mass of screen shots in the tools chapter for instance.
I would have given this book a five but some of the code examples are annoyingly incomplete and these are not available on the supporting website. Still it is a book well worth having, highly recommended.