~/talk

What’s happening in your Rails app? Introduction to Introspection features of Ruby

Talkat RailsConf 2015 · 2015-04-21..04-23· [ruby, observability]
slides:none on file

Ruby MRI introspection reveals concrete fixes not vague advice: use allocation_tracer and GC tracing to see which lines create thousands of objects, use TracePoint hooks and binding_of_caller–style inspection to dump local values at exceptions, and tune GC after measuring total allocated objects and object lifetimes. A demonstration app runs on Heroku with both tracers enabled (it gets slower but produces useful traces), and a case shows keywordless method dispatch was ~30× slower then improved to ~15× slower.

AI-written summary · about

  1. 0:00Start
  2. 11:18Existing Tools
  3. 12:09Performance Issue How To Overcome
  4. 15:38Memory Consumption
  5. 17:02Generational Garbage Collection
~/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.