Announcing High Performance JavaScript
Last year was one in which I did a lot of research on performance, resulting in the Speed Up Your JavaScript blog post series (part 1, part 2, part 3, part 4) as well as several talks, namely JavaScript Variable Performance at the San Francisco JavaScript Meetup, Speed Up Your JavaScript at Google (video), and Writing Efficient JavaScript at Velocity. I was then asked my Steve Souders to contribute a chapter on JavaScript performance to his book, Even Faster Web Sites. While writing that chapter, I felt like I had far too little space to explore so wide of a topic.
Not long after that, I was approached by Havi Hoffman of the Yahoo! Developer Network to see if I would be interested in writing a book on JavaScript performance to be published by Yahoo! Press. You may be familiar with the first Yahoo! Press book, JavaScript: The Good Parts by Douglas Crockford, but there’s also Hadoop: The Definitive Guide (Tom White) and Designing Social Interfaces (Christian Crumlish & Erin Malone). Each features invaluable knowledge from some of Yahoo!’s best and brightest. I have to admit that it was a dream of mine to write for Yahoo! since I first joined the company, and this was the perfect opportunity.
In March, High Performance JavaScript will officially hit the shelves (it’s available for pre-order now on Amazon). My vision for this book was to expand upon the chapter I wrote in Even Faster Web Sites and wanted very much to keep the overall statistics-driven approach that Steve had employed. But in order to make this book the absolute best that it could be, I also borrowed Steve’s idea and sought out some of the smartest engineers I know to contribute to the book. So this book features chapters written by the following:
- Ross Harmes, co-author of Pro JavaScript Design Patterns and front-end engineer for Flickr. Ross writes about Ajax performance with an eye on squeezing out the fastest client-server messaging possible.
- Julien Lecomte, creator of the YUI Compressor and front-end engineer on Yahoo! Search. Julien describes effectively deploying your JavaScript with performance in mind.
- Steven Levithan, co-author of the Regular Expression Cookbook and guru on all things related to strings and regular expressions. Steven explains the ins and outs of string and regular expression performance in JavaScript in a way that I believe has never been done before. He’s also running a contest to win a free copy of the book.
- Matt Sweeney, YUI 3 architect. Matt focuses on currently available tools for measuring JavaScript performance.
- Stoyan Stefanov, author of Object-Oriented JavaScript and front-end engineer on Yahoo! Search. Stoyan investigates the performance of the DOM and how reflows and repaints affect JavaScript’s perceived performance. This chapter, to me, will be the definitive print resource for reflow information.
Of course, there’s also five chapters written by me, making this a ten-chapter intensive look at JavaScript performance in the browser. I tried to make sure we covered all angles of the JavaScript lifecycle, from getting the code onto the page, executing the code, and deploying into production. I’m very, very excited about this book and the positive impact it can have on JavaScript developers. Don’t be fooled by faster JavaScript engines, JavaScript performance is going to continue to be important to understand for years to come. I hope you enjoy the book!
Disclaimer: Any viewpoints and opinions expressed in this article are those of Nicholas C. Zakas and do not, in any way, reflect those of my employer, my colleagues, Wrox Publishing, O'Reilly Publishing, or anyone else. I speak only for myself, not for them.
Both comments and pings are currently closed.




14 Comments
[...] Edit (2010-02-09): Nicholas Zakas posted some additional information about High Performance JavaScript on his blog: Announcing High Performance JavaScript. [...]
Five Free Copies of Upcoming O’Reilly Book ‘High Performance JavaScript’ on February 9th, 2010 at 9:17 am
So psyched to see this come out. What a year you’ve had, Nicholas! Can’t wait to get a copy.
Steve Souders on February 9th, 2010 at 12:49 pm
What an incredible contribution to this industry. Well done.
Mike G on February 9th, 2010 at 1:16 pm
Excellent. This sounds very exciting, can’t wait to crack it open.
Rick (rwaldron) on February 9th, 2010 at 2:20 pm
Really looking forward to reading this. Congrats on the new book!
Rob Flaherty on February 9th, 2010 at 2:53 pm
So excited for this! pre_ordered++;
Jordan Boesch on February 9th, 2010 at 3:06 pm
Ok… you enticed me into preordering =P
Thanks for all the great info you’ve been putting out there! Your videos and posts have been some of the most pertinent and interesting I’ve read/watched.
I’m glad you got to fulfill your dream of writing for Yahoo! Can’t wait to read it.
Brian Egan on February 9th, 2010 at 4:54 pm
Definitely looking forward to this one! Sounds like a great addition to collection of performance focused books.
Tim Kadlec on February 9th, 2010 at 10:58 pm
[...] a Javascript guru and member of the elite Yahoo performance team. Zakas just announced his new book High Performance JavaScript, which you should order [...]
10 Javascript Performance Boosting Tips from Nicholas Zakas | Jon Raasch's Blog on February 10th, 2010 at 12:56 pm
Just pre-ordered the book. Can’t wait to read it. Saw your Speed Up Your JavaScript talk yesterday. Good stuff. I really liked those bits about createDocumentFragment and HTMLCollection.
Jos Hirth on February 10th, 2010 at 1:24 pm
Really looking forward to the book. Thanks for the write-up.
Benjamin Toll on February 15th, 2010 at 2:18 pm
Looking forward to it! Pre-ordered it when I found it on Amazon.
Jeremy on February 15th, 2010 at 4:47 pm
[...] Announcing High Performance JavaScript: Nicholas Zakas announces his latest book, due in March 2010. [...]
Links for the week of February 7, 2010 on February 15th, 2010 at 4:54 pm
[...] I saw Nicholas C. Zakas blog that he was writing a new book on JavaScript performance techniques, I instantly went to pre-order it as I hoped it would be [...]
Book Review: High Performance JavaScript (Part 1) | Derek Gathright on September 8th, 2010 at 1:44 am
Comments are automatically closed after 14 days.