~/talk

Improving TruffleRuby’s Startup Time with the SubstrateVM

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

TruffleRuby compiles its Java runtime ahead-of-time with the SubstrateVM native-image generator to produce a static binary that prebuilds ASTs and core-library data. Startup for hello world drops from 1.7s to ~0.1s and the Ruby spec run falls from 47.4s to ~4.9s; peak throughput drops ~15% (opcarat goes from 197 to 169 fps). The project uses Graal/Truffle, LLVM bitcode for C extensions, and is publicly available and working.

AI-written summary · about

  1. 0:00Introduction
  2. 0:46Disclaimer
  3. 1:11What is TruffleRuby
  4. 2:24TruffleRuby completeness
  5. 3:03TruffleRuby implementation
  6. 6:16Milestones
  7. 8:03Application Life Cycle
  8. 9:06Application Profiles
  9. 11:48Peak Performance
  10. 12:33Performance Comparison
  11. 12:56The Dilemma
  12. 14:38SubstrateVM
  13. 14:51TruffleRuby
  14. 15:56Substrate VM
  15. 16:57Java C
  16. 19:22Opportunities
  17. 22:15Performance
  18. 22:45Why the performance hit
  19. 24:12Summary
  20. 25:30Future work
  21. 28:29Team
  22. 29:14Contact
  23. 29:36Questions
  24. 29:53Build time increase
  25. 30:33Rails community
  26. 30:56Running C extensions
  27. 31:38Seulong project
  28. 32:18C extensions
  29. 34:09Dual approach
  30. 34:32Risk
  31. 35:39Overhead
  32. 38:24Technical
  33. 38:45Key Idea
  34. 40:48Conclusion
~/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.