~/talk

Angular performance pitfalls and how to avoid them

Talkat ngVikings 2018 · 2018-03-01..03-02· [web-performance, testing]
slides:none on file

Describes concrete fixes: enable build optimizer and strip template whitespace to shrink bundles, replace getters/classes/async/await when they transpile into large ES5 boilerplate, attach heavy listeners with runOutsideAngular to avoid repeated change detection, and render menus as templates instead of hidden DOM. Shows test-speed wins: compile only the needed component (reduces test build time by 60%) and prefer fakeAsync over async to make tests deterministic and faster.

AI-written summary · about

  1. 0:00Page size
  2. 1:36Transpose
  3. 4:08AsyncWait
~/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.