Tuning Node
summary
Shows concrete V8 edits that change performance: functions shorter than 600 characters get inlined and drop a loop from about 10s to ~2s, changing the flag max_inline_source_size=1000 yields the same speed for a bloated function, and enabling allow_native_syntax lets JavaScript call the C++ %SetFlags to mutate V8 at runtime. Demonstrates an HTTP endpoint that flips the flag mid-run and cuts responses from ~121ms to a fraction, and cites a real product (Dillinger) as an example of things built on Node and V8.
AI-written summary · about
chapters (4)
related talks
23mJoin the super secret V8 club & become a JavaScriptbender
24mYou Did What? Understanding Node.js Optimizations
17mV8 engine, JS Code Interpretation, and Execution
34mNode.js Can Be as Fast as C++
30mNode.js Feature Livecoding
24mDemystifying V8 and JavaScript Performance
35mNode.js Feature Livecoding
24mThe Mad Science of Node
