~/talk

Pragmatic performance patterns

Talkat Nordic.js 2016 · 2016-09-08..09-09· [nodejs, web-performance]
slides:none on file

A concrete case study: an HTML-to-JSON pipeline gets a tiny synthetic benchmark and a benchmark-first workflow so changes are measured not guessed. Uses Node v6 inspector CPU profiler to inspect hotspots, a 1 ms pass/fail rule (1 ms threshold), and a targeted string-index/replace microfix that drops a critical step from 0.09 to 0.06. Swapping an HTML-encode package also saves measurable CPU time, proving the approach works.

AI-written summary · about

  1. 0:00Start
  2. 5:291 MS FAIL!
  3. 10:41PERFORMANCE WAS A PRIORITY FROM THE BEGINNING
  4. 12:18WRITE BENCHMARKS ON PIECE OF THE CODE
~/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.