~/talk

Dig Deep V8 profiling

Talkat NodeConfEU 2015 · 2015-09-06..09-09· [nodejs, web-performance]
links:none on file
slides:none on file

Builds a native Node.js add-on with node-gyp and uses the V8 CPU profiler API to start/stop sampling from C++, sets the sampling interval (defaults to 1 ms), and prints a top‑down tree of frames by walking the profile nodes. The demo compiles the addon, runs a tight JSON.stringify workload, and shows the profiler accruing about 312 samples for the hot function, a background thread receiving samples, and a C++ printer that successfully outputs the profile.

AI-written summary · about

  1. 0:00Start
  2. 0:51Documentation
  3. 6:06Creating a Handle Scope
  4. 7:15Headers
  5. 9:03Start Profiling
  6. 14:35Cpu Profile Node
~/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.