DeepRead
Cover of High Performance JavaScript

High Performance JavaScript

Nicholas C. Zakas · 2010

Writing, design and web craft › Web performance and JavaScript patterns

#2,196 most recommended

About the book

A practical guide to making JavaScript faster in web browsers. It covers how scripts are loaded and executed, data access and scope, DOM scripting, loops and algorithms, string handling, responsive interfaces using timers and Web Workers, Ajax data transfer, and build and deployment steps such as minification and compression. It is aimed at developers who already know the language and want to address the performance costs that matter on real pages. The central claim is that much of the slowness users see on the web comes from the surrounding environment, chiefly blocking script loads, excessive DOM access, and repeated network requests, rather than from the raw speed of the language. It argues for measuring before optimizing and for fixing the most expensive operations first, such as limiting reflows, caching repeated lookups, and choosing efficient loops and data access patterns. It also treats perceived responsiveness as a goal in itself, so long-running work should be split into smaller pieces or moved off the main thread.

Written by Claude from what it knows of this book.

What Hacker News says 70% recommend · 5% critical

051020102012201420162012 peak · 6
This bookAverage book in Web performance and JavaScript patterns

In the commenters’ own words

What Open Library readers say 4.00 from 1 rating

  1. 50
  2. 41
  3. 30
  4. 20
  5. 10
  • 3 want to read
  • 0 reading
  • 2 have read

Only 1 rating: treat the average as a hint.

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

The threads it came up in

Details

First published
2010
ISBN
9780596802790
Editions known
8 at Open Library
Open Library
OL16807218W

DesignDocument Object Model (Web site development technology)JavaScriptJavaScript (Computer language)JavaScript (Computer program language)Javascript (computer program language)Web serversWeb sitesWorld Wide Web

Explore in the mosaic

Read next: its neighbours on the mosaic