~/talk

Performance optimizations in Angular

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

During the GCP Angular migration a systematic audit finds concrete fixes and measured gains: replace detectChanges with markForCheck and use OnPush to cut change detection, avoid ngClass/ngStyle/ngFor where simple bindings or moved ng-template work, limit subscriptions to visible rows for a 50% render-time win, consolidate event listeners to document for ~9% script drop, remove DOM nesting for ~15% faster render, eliminate layout thrashing (one case hides 80% of render time), run timers outside Zone for ~60% improvement, and track regressions with perf gate.

AI-written summary · about

  1. 0:00Introduction
  2. 0:36Google Cloud
  3. 0:46Migration to Angular
  4. 1:32Components
  5. 4:18Usage of builtin Angular directives
  6. 5:11Iterable differs
  7. 5:53NG Style
  8. 6:27NG For
  9. 7:51NG Template
  10. 8:46Rxjs
  11. 9:38PerfGate
  12. 11:12Output
  13. 11:27Environment
  14. 11:55DOM Elements
  15. 12:35Listeners per Element
  16. 14:15Layout thrashing
  17. 17:30Microtasks
  18. 18:10Passive event listeners
  19. 19:14Listener will change
  20. 20:00Visibility
  21. 20:30Letters Facing
  22. 20:58Letter Spacing
  23. 22:00Conclusion
~/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.