~/talk

Maximizing App Efficiency with Clinic.js

Talkat CityJS London 2023 · 2023-04-21..04-23· [nodejs, web-performance]
slides:none on file

Clinic.js is a diagnostic suite that finds real Node.js bottlenecks: run Doctor to spot event loop stalls, run Flame or use --trace-sync-io to expose blocking calls (example: fs.existsSync / readFileSync as the CPU hotspot), run Heapprofiler to pinpoint a leaking function (example: a module named name allocates most memory), and run Bubbleprof to reveal async dependencies (2,000 overlapping calls collapse into sequential bubbles until parallelized). Expect ~30% overhead when profiling live; use --collect-only for off-box collection.

AI-written summary · about

  1. 0:00Introduction and context
  2. 1:36The challenge of performance
  3. 3:24Clinic.js overview
  4. 5:39Clinic Doctor and Flame
  5. 7:44Deep diving into V8 profiling
  6. 10:23Memory profiling
  7. 11:41Debugging asynchronous I/O
  8. 15:30Final tips and closing
  9. 16:22Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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.