~/talk

Optimizing Angular 2 Apps

Talkat Angular Connect 2016 · 2016-09-27..09-28· [angular, web-performance]
slides:none on file

An Angular 2 seed starts at ~420 KB after uglify and gzip which equals ~67 seconds on GPRS, then using source-map-explorer to map output to inputs and webpack 2 tree-shaking cuts it to ~191 KB (~30 s). Ahead‑of‑time compilation removes the compiler and drops to ~115 KB (~18 s). Aggressive optimisations via a pipeline (ngc + Closure Compiler with Sickle) yield ~27–30 KB and ~5 s on the worst links.

AI-written summary · about

  1. 0:00The importance of optimization
  2. 2:54Performance and bundle sizing
  3. 7:01Using source maps
  4. 10:31Tree shaking
  5. 13:57Ahead-of-time compilation
  6. 17:35Advanced closure optimization
  7. 28:22Summary and takeaways
~/search
type to search 6,518 conferences, 143,918 speakers and 192,133 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.