Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore a 20-minute conference talk from MPLR 2023 that evaluates the performance of YJIT, a new JIT compiler for Ruby, in a production context. Discover how YJIT, based on Lazy Basic Block Versioning architecture, compares to other Ruby implementations in terms of peak performance, memory usage, and warm-up time. Learn about YJIT's consistent outperformance of the CRuby interpreter on benchmarks and its significant speedups in real-world deployments, such as Shopify's StoreFront Renderer infrastructure. Gain insights into YJIT's advantages, including full compatibility with existing Ruby code, reduced memory overhead, and faster warm-up compared to JRuby and TruffleRuby. Understand the pragmatic approach taken to evaluate YJIT's performance in both benchmark and large-scale production environments.