JavaScript: Need for Speed

JavaScript: Need for Speed

http://www.meetup.com/SF-Web-Performance-Group/events/112609542/

Analyzing the performance of large-scale JavaScript applications requires a distinct set of tools. It is no longer enough to run various benchmarks by creating loops and measuring the associated period. The amazing progress of modern JavaScript engines means that developers should not stress about outdated considerations such as cache array length, avoiding 'switch' statements and using 'while' instead of 'for'. Understanding the inner workings of the engine itself will reveal the typical code patterns favored for maximum execution speed (type stability, fixed object shape, profile-guided, garbage minimization, etc).

0284b8950e0f4a57bcc092d4dbb98d97?s=128

Ariya Hidayat

April 11, 2013
Tweet