~/talk

Increasing Performance – more than a pipe dream

Talkat NGConf 2018 · on Wednesday, 2018-04-18· [angular, web-performance, testing]
slides:none on file

A concrete experiment shows a template function getting called 820 times as change detection fires, then being replaced with an Angular pipe that is called only 10 times (or 90 times when showing 100 rows), yielding an 88% reduction in calls. The pipe works by caching outputs for identical primitive inputs; changing object internals without swapping the reference prevents cache hits. The demo uses console counts to measure calls and proves replacing expensive template functions with pipes cuts wasted work.

AI-written summary · about

  1. 0:00Start
  2. 2:41Pipes to the rescue!
  3. 3:18A pipe always remembers
  4. 3:48Input types
~/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.