~/talk

Day 2 Keynote

Talkat RailsConf 2024 · 2024-05-07..05-09· [ruby-on-rails]
links:none on file
slides:none on file

A new Ruby 3.2+ sampling profiler called Vernier records both wall-clock and allocation samples, plus GVL, ractor, thread states, GC activity and idle time; it ships as a CLI plus a single‑page web viewer based on the Firefox profiler. A Bundler run shows a hotspot where string split runs ~200,000 times causing ~890,000 allocations; avoiding those allocations cuts a measured slow path dramatically. Vernier uses a dedicated C thread to never miss samples and to keep profiling overhead low.

AI-written summary · about

  1. 0:00Introduction
  2. 2:17Performance philosophy
  3. 9:54Introducing Vernier
  4. 17:18Profiling in practice
  5. 20:47Instrumentation techniques
  6. 27:48Tracing vs. sampling
  7. 33:29Gvl and threading
  8. 36:55Evolution of profilers
  9. 45:28Real-world application
~/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.