~/talk

Opening Day 3 Keynote

Talkat RailsConf 2016 · 2016-05-04..05-06· [ruby]
slides:none on file

Findings: Ruby’s gem_prelude causes O(N) require scans and switching to an explicit gem_prelude patch (gem "name" before require) yields O(1) startup lookups and exposes a RubyGems regression in 2.5.2–2.6.2 that slows binstubs. Compiling and caching Ruby bytecode speeds Rails boot by about precompiled bytecode ~30%. Polymorphic inline caches rarely help (only ~3% call sites), but sharing cache keys for singleton classes gives ~singleton-class cache-key sharing ~45% improvement. Built a heap-fragmentation inspector (heapfrag) and proposes page-layout/COW optimizations.

AI-written summary · about

  1. 0:00Start
  2. 0:12Aaron Henderson
  3. 1:56Aaron Patterson
  4. 8:30What's New in Rails 5
  5. 12:25Appeal to Startups
  6. 18:30Boot Time Performance Runtime Performance and Memory Efficiency
  7. 19:37Boot Time Performance
  8. 22:14Measurement by Elimination
  9. 23:26Loading Rubygems
  10. 30:30Booting Up Rails
  11. 30:44Startup Times
  12. 32:43Program Flow
  13. 33:13Example of a Compilation Script
  14. 33:35Load and Execute this Bytecode
  15. 36:37Runtime Performance
  16. 37:43Inline Caching
  17. 40:32What Class Is Var
  18. 43:43Copy-on-Write
  19. 43:59Copy-on-Write Optimizations
  20. 45:10Memory Layout
  21. 49:07Trade Offs
  22. 50:26Five Lessons
~/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.