~/talk

Vernier: A next generation profiler for CRuby

Talkat RubyKaigi 2024 · 2024-05-15..05-17· [ruby]
links:none on file
slides:none on file

Vernier is an open source Ruby 3.2+ profiler that records time and memory in a single artifact and opens in a Firefox‑profiler based web viewer. It combines 1 ms sampling with selective tracing to record GC events, user timings and allocations, uses a C‑side stack table to deduplicate stacks without allocating Ruby objects, and runs a C thread to avoid missed samples. Live examples include finding a string.split hotspot that made ~1,000,000 allocations and sped bundler from ~6s to ~5s after a fix. It surfaces allocations+timings and GVL-aware sampling so production servers can be toggled by signal and show true GVL contention across threads.

AI-written summary · about

  1. 0:00Introduction to Verer
  2. 1:03Visualizing profiles
  3. 2:34Feature set and usage
  4. 4:46Performance optimization
  5. 6:07Memory profiling evolution
  6. 10:07Tracing vs. sampling
  7. 12:26Instrumentation approach
  8. 15:49GVL instrumentation
  9. 18:21Sampling and thread handling
  10. 23:57Production use cases
  11. 29:01Conclusion
~/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.