Talking about NodeJS
summary
Advice says that performance comes from consistent types and object shapes, not magic. Claim: inject properties in constructors so V8 creates stable hidden classes and favors the inline caching paths in d8, avoiding deoptimizations. Note that prototypes have a creation stage and a use stage and the way prototypes are built changes runtime performance. Also reports on coordination pain when assembling many subsystems to ship a large system, and how team organization, not just code, determined success.
AI-written summary · about
related talks
33mJavaScript: The V8 Engine optimization tips (...)
24mDemystifying V8 and JavaScript Performance
11mRevolutionizing JavaScript Performance
22mHigh Performance JS in V8
26mPractical Optimization for V8
46mInvisible performance. How fast is your JavaScript code?
21mAsk not what JavaScript can do for you
34mNode.js Can Be as Fast as C++
