OPTIMIZING JAVASCRIPT FOR FUN AND FOR PROFIT
This is a summary of common JavaScript optimization techniques and ways to benchmark performance. Some common practices that can actually hurt performance include string comparison, operating on objects of different shapes, and array/object methods like map, reduce, and filter.