~/talk

The Life-Changing Magic of Tidying Active...

Talkat RailsConf 2019 · 2019-05-01..05-03· [ruby-on-rails]
slides:none on file

Uses memory profiler and derailed benchmarks to collect allocations, finds ActiveRecord respond_to allocating strings and replaces it with a symbol→string hash to cut allocations ~1% and speed web requests ~1.01x. Finds time-parsing hot path, avoids needless Time allocation to cut allocations ~5% and speed requests ~1.23x (claimed equivalent to ~19 fewer servers). Builds a caller-aggregation tool (Whence) to prioritize fixes from real backtraces.

AI-written summary · about

  1. 0:00Start
  2. 0:14Pain Free Rails 66 Deployments
  3. 4:47TIDYING UP Active Record
  4. 8:35malloc is slow
  5. 10:34Bytes reduced is a consistent metric
  6. 12:08gem install derailed benchmarks
~/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.