~/talk

Speeding Up Your Angular App: Techniques for Optimizing Rendering Performance

Talkat code.talks 2023 · 2023-09-14..09-15· [angular, web-performance]
links:none on file
slides:none on file

An Angular page shows a 41s full load and rendering stalls: 29 fields take ~2s, 60 fields ~4s, 100+ fields ~7s because the template expands to ~800, ~1,680 and ~3,000 mat-form-field elements respectively. Profiling with DevTools Performance Monitor and the Performance panel identifies long rendering blocks. The fix streams items with RxJS, using bufferCount + concatMap + delay into an observable consumed by the async pipe so items render in small batches (two at a time), converting one big blocking paint into many short tasks and restoring interactivity.

AI-written summary · about

  1. 0:00Introduction
  2. 2:19Web performance metrics
  3. 3:47Browser rendering
  4. 8:58Angular rendering methods
  5. 13:43Poor rendering symptoms
  6. 16:33Rendering optimization techniques
  7. 19:44Log app case study
  8. 27:16Diagnosing bottlenecks
  9. 30:12Progressive rendering
  10. 36:05Performance measurement
  11. 40:15Conclusion
~/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.