Understanding JavaScript Performance
summary
A practical roadmap that names causes and tools: a hierarchy of speed from engine to library to app, concrete numbers (50 ns for object allocation, ~15 µs for a computed property, ~15 ms per complex component, ~70 ms minimum round trip) and how those scale into 10,000 or 10,000,000 hits. Explains JIT assumptions and deoptimization, shows measurements with Chrome Timeline, network tab, user timing API, chrome tracing, node --allow-native-syntax and v8 tooling, and describes ember bench and flame-graph driven fixes that doubled parts of Ember Data.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 6:18The Hierarchy of Speed
- 8:13The Mental Framework
- 12:10Micro vs Macro Split
- 13:30Application Layer
- 16:30Backtracking
- 17:55Recap
- 20:05Tools
- 24:36Ember Data
- 25:50JavaScript Engines
- 29:30Native Syntax Tools
related talks
46mHow much performance can you get out of JavaScript?
17mVisualising Front-End Performance Bottlenecks
39mHow much performance can you get out of Javascript?
59mProfiling JavaScript Like A Pro
29mExtreme JavaScript Performance
31mJavaScript Compilation Techniques or "Wasn't JavaScript supposed to be slow?"
16mJavaScript & Metaperformance
01h 03mSpeed up your Web Application
