Optimizing Javascript for fun and for profit
The page collects practical JavaScript optimization habits: avoid unnecessary work, string comparisons, shape changes, indirection, cache misses, large objects, and weak data structures, while insisting that benchmarking and profiling come first.