~/talk

Angular Performance in the Enterprise

Talkat EnterpriseNG 2020 · 2020-11-19..11-20· [angular, web-performance]
slides:none on file

A demo dashboard is profiled with the Chrome DevTools profiler after running an ng build --prod with mangling disabled and in incognito; the profiler surfaces a leaked setInterval that triggers redundant change detection, and an aggregate getter that consumes over 50% of runtime. The expensive getter is moved into a web worker via ngg web worker and a small service that returns "calculating" then the numeric result, which removes the blocking work. Refactoring parent components to onPush and adding virtual scrolling cuts rendered components; enabling the V8 timeline shows JIT compile spikes of 5x–10x.

AI-written summary · about

  1. 0:00Intro
  2. 1:13Optimizing an Angular Application
  3. 2:30Profile an Application
  4. 5:59Flame Graphs
  5. 8:25Flame Charts
  6. 9:38What triggers change detection
  7. 11:08Long calls
  8. 16:10Rendering
~/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.