~/talk

Debugging Ruby

Talkat RubyConf 2011 · 2011-09-29..10-01· [ruby, observability]
links:none on file
slides:none on file

Shows exact tooling and outcomes: uses perf tools sampling profiler (38 samples with 4 in GC) and RubyProf for call-level hotspots, ports MPR/mov to 1.9 to pinpoint leaking lines, and uses GDB.rb and rbtrace to inspect live processes. Demonstrates GC profiler output with 53 GCs and object counts climbing toward ~2 million, uses m.dump to JSON for a web visualizer, and shows where allocations (file and line) produce the leak so fixes can be targeted.

AI-written summary · about

  1. 0:00Introduction to profiling
  2. 1:00Debugging Ruby crashes
  3. 2:27Importance of profiling tools
  4. 4:45CPU profiling tools overview
  5. 7:15Using perftools.rb
  6. 15:15Using Ruby Prof
  7. 20:35LL Prof tool
  8. 21:55Memory profiling intro
  9. 23:45GC profiling in Ruby 1.9
  10. 28:45MPR for memory leaks
  11. 35:00Dumping heap data
  12. 37:40Debugging live processes
  13. 40:30Alternative tools and conclusion
~/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.