~/talk

Nodejs Runtime Performance Tips

Talkat Node Congress 2021 · 2021-02-18..02-19· [nodejs, web-performance]

A concrete checklist of what changes performance and how to measure it: a microbenchmark shows one implementation taking 40 ms vs 7 ms because repeated pushes trigger garbage collection, Node runs with --inspect and Chrome DevTools profiler to record CPU and memory, the memory profiler shows 100 allocations per second as blue bars tied to a retained array, and simply clearing that array turns blue bars to gray and removes the leak, proving the fix.

AI-written summary · about

  1. 0:00Introduction
  2. 1:14Performance profiling
  3. 2:47Runtime optimization
~/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.