JRuby 2018: Real World Performance
summary
JRuby 2018 claims concrete wins: an Oj port (originally ~20,000 lines of C) now as Java at half the code and running about 3x faster on JSON; invokedynamic and Graal produce up to 20x wins on microbenchmarks but more typically 2–3x; Rails/ActiveRecord workloads run 20–30% faster with single-process multithreading and lower memory after object/array specialization; JRuby 9.2 targets Ruby 2.5, ActiveRecord JDBC compatibility is restored, and the Oj port shows 50-ish bugs left before a PR.
AI-written summary · about
chapters (21)
- 0:00Intro
- 1:14What is JRuby
- 2:19JVM Tools and GC
- 3:20Fun Stuff
- 4:03Roadmap
- 7:02Library Compatibility
- 9:20Load Performance
- 10:07Dump Performance
- 13:51JRuby Architecture
- 15:15InvokeDynamic
- 19:22Optimizing Objects
- 20:28Optimizing Arrays
- 21:1510M * One-variable Object
- 23:34Active Record Performance
- 25:26Scaling Rails
- 26:45Measuring Rails Performance
- 28:25JRuby on Rails Memory
- 32:16Inlining Problem
- 33:13JRuby Method Inlining
- 35:08Ruby Replacement!
- 36:18JRuby Inlining Status








