~/talk

Improving TruffleRuby’s Startup Time with the SubstrateVM

Talkat RubyConf 2017 · 2017-11-15..11-17· [ruby]
slides:none on file

TruffleRuby retargets to the SubstrateVM native-image and ahead-of-time compiles the interpreter so core Ruby files are pre-parsed as ASTs and encoding tables baked in. Startup drops from 1.7s to ~0.1s on Hello World and from 47.5s to under 7s for the language spec suite (47.5s → ~6.8s). Peak speed falls about 15% from 197 to 169 fps (197 → 169 fps), due to array and megamorphic dispatch differences, but the native image approach works.

AI-written summary · about

  1. 0:00Introduction
  2. 1:07TruffleRuby Overview
  3. 2:58What is Truffle
  4. 7:19The Problem
  5. 10:15Current Status
  6. 13:12Peak Performance
  7. 15:00Development vs Production
  8. 17:51Native Extensions
  9. 18:01SubstrateVM
  10. 25:56Results
  11. 27:15Peak Performance Sacrifice
  12. 27:53Why did we take a performance hit
  13. 29:52Summary
  14. 31:40Future work
  15. 33:36Slides
  16. 33:57Team
  17. 34:50Contact
~/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.