~/talk

Evaluating YJIT’s Performance in a Production Context: A Pragmatic Approach

Talkat MPLR 2023 · on Sunday, 2023-10-22· [ruby]

YJIT is a CRuby-integrated JIT using Lazy Basic Block Versioning and a simple “compile after N calls” heuristic, with a multiplatform backend (x86_64 and arm64) and runtime value promotion. Benchmarks report ~30–50% speedups over the interpreter; a Shopify Storefront Renderer deployment shows ~15% average and later ~25% end-to-end improvements, while warm-up is near-instant versus ~2 minutes for Truffle. Memory metadata is the dominant overhead but is reduced by lazy allocate executable memory and compact context layout; tests compile 3,000 methods compiled in the largest workload.

AI-written summary · about

  1. 0:00Introduction to YJIT
  2. 1:58Project history and context
  3. 3:06YJIT technical architecture
  4. 4:49Optimizing for production
  5. 5:53Design for rapid warm-up
  6. 7:37Managing memory footprint
  7. 9:13Benchmarking methodology
  8. 10:53Performance evaluation results
  9. 13:08Lessons and future outlook
  10. 15:31Production deployment metrics
  11. 17:47Conclusions and Q&A
~/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.