~/talk

How to optimize Ruby internal.

Talkat RubyKaigi 2017 · 2017-09-18..09-20· [ruby]
links:none on file
slides:none on file

Uses Apple Instruments and the Xcode iProfiler to find C-level hot spots, then removes Ruby dispatch by adding C APIs and reducing temporary allocations; patches target Ruby 2.5 internals and land as PRs. Measured across ~500 benchmark cases for Array/Hash/String/Time, hash merge 1.5x faster after replacing a duplication path, and object allocation 1.46x faster by coalescing heap allocations; some regressions (≈40% hash-gen) appear but are identified and fixed.

AI-written summary · about

  1. 0:00Introduction and background
  2. 6:45Measuring Ruby performance
  3. 12:15Optimizing Ruby internals
  4. 18:59Performance results and regressions
  5. 23:27Hash object creation optimization
  6. 24:35Summary and conclusion
  7. 25:18Q&A session
~/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.