~/talk

Optimizing an Angular application

Talkat NGConf 2018 · on Thursday, 2018-04-19· [angular, web-performance]

A simple Angular demo with 140 items suffers severe typing lag; profiling shows expensive Fibonacci calls on every change detection. The session applies onPush change detection plus Immutable.js to stop unnecessary traversals, moves heavy computation into pure pipes + memo decorator to avoid recomputation, and batches server events with RxJS buffer(interval). Benchmarks show about 2x improvement from onPush and pure pipe memoization yields hundreds‑fold speedups; a reproducible workshop VM and the Rhyme platform are published.

AI-written summary · about

  1. 0:00Intro
  2. 1:48Virtual Machine
  3. 2:19Going to see screen
  4. 2:57Application overview
  5. 5:32Application structure
  6. 5:47Calculations
  7. 6:17Adding more data
  8. 7:05Recording performance
  9. 8:00Change detection
  10. 9:04Onpost change detection
  11. 9:33Reference check
  12. 10:21Immutablejs
  13. 11:12refactoring
  14. 13:51performance benchmarks
  15. 14:16inspection
  16. 15:07refactor
  17. 16:10change detection indication
  18. 23:56pure functions
  19. 29:33caching
  20. 31:27memo decorator
  21. 32:36realtime updates
  22. 38:44outro
~/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.