logo

Javascript

Javascript

Performance

How To Write Fast, Memory-Efficient JavaScript - Smashing Magazine

20 Best Practices for Improving JavaScript Performance - KeyCDN

Three JavaScript performance fundamentals that make Bluebird fast - Reaktor

3 JavaScript Performance Mistakes You Should Stop Doing

  • Array

JSBench.me - JavaScript performance benchmarking playground

  • Arrays are more performant than objects

  • Integer arrays are fastest

  • Prefer looping forwards through an array. Backwards breaks most caching.

  • Try to keep array sizes the same. Pushing/growing an array is not performant.

  • Object