~/talk

The secrets behind Angular’s lightning speed

Talkat AngularConnect 2019 · 2019-09-19..09-20· [angular, web-performance]
slides:none on file

Claims that matter: Angular forces monomorphic property access to keep V8 inline caches fast (VM shows monomorphic access can be ~100× faster than megamorphic, and V8’s inline cache capacity is four), uses compact bitfields and bloom filter per injector so dependency lookup is a few bitwise checks instead of walking every injector, and the compiler emits direct render instructions (runtime JS, not just JSX-like descriptors) so change detection touches only the exact nodes. These engineering choices are implemented in Angular and measurably speed runtime and shrink shipped bundles.

AI-written summary · about

  1. 0:00Introduction
  2. 2:32Optimized code
  3. 4:41Monomorphic property access
  4. 7:07Inline cache
  5. 11:55Polymorphic state
  6. 14:57probabilistic data structures
  7. 15:51bloom filter
  8. 16:20is element in the set
  9. 17:40probabilistic data structure
  10. 18:13Bloom filters
  11. 20:17Dependency injection
  12. 23:46Output
  13. 24:16JSX vs Angular
  14. 25:37Direct render instructions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.