~/talk

Navigating TypeScript Performance for Better Dev Experience

Talkat Armada JS 2023 · 2023-10-05..10-06· [typescript, developer-experience]
slides:none on file

Shows how to find and fix TypeScript compiler hotspots using compiler flags and traces: run diagnostics, listFiles and showConfig, generate a Chrome trace via generateTrace producing trace.json + types.json, and summarize bottlenecks with analyzeTrace. Gives concrete wins: upgrading TypeScript cut a 35s check to 12s, refactoring styled-components reduced a 14s page check to ~2.4s, and splitting massive union types (Redux Toolkit) yields ~60% faster checks; recommends incremental builds, named type aliases, and preferring interfaces when it flattens shapes.

AI-written summary · about

  1. 0:00Introduction to TypeScript performance
  2. 2:33Developer-focused tooling importance
  3. 3:37Compiler performance pain points
  4. 8:10How TypeScript compiler works
  5. 13:28Do less work for better speed
  6. 13:48Debugging TypeScript performance
  7. 25:45Improving TypeScript performance
  8. 32:41Advanced optimization techniques
  9. 34:06Summary and closing remarks
~/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.