YJIT Benchmarks

YJIT metrics from the yjit-bench suite as of 2024-12-06 (6ccaa37eb3)
Using the geomean of the headline benchmarks for x86 YJIT 3.4.0dev is
  • 90.1% faster than CRuby 3.4.0dev
  • 5.7% faster than YJIT 3.3.6
On railsbench it is
  • 91.3% faster than CRuby 3.4.0dev
  • 4.3% faster than YJIT 3.3.6
Latest Full Details:
YJIT 3.4.0dev build configuration
Ruby
ruby 3.4.0dev (2024-12-06T03:32:20Z :detached: 6ccaa37eb3) +YJIT +PRISM [x86_64-linux]
Configure args
--disable-install-doc --disable-install-rdoc --enable-yjit
Compiler
gcc (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0
x86_64 CPU
Intel(R) Xeon(R) Platinum 8488C: 6.143.8
aarch64 CPU
AWS Graviton4

YJIT Results Over Time

YJIT Relative Speedup and Statistics Over Time
YJIT's relative speedup over CRuby, the metric that is most generally applicable and least subject to changes in hardware or benchmark code.
YJIT vs CRuby Memory Usage Over Time
Memory usage overhead of YJIT compared to CRuby (development versions).
Benchmark Runtime Comparison Over Time
Comparison of total runtime of each ruby version for any benchmark over time (mostly useful for debugging unexpected changes).
YJIT Benchmark Runtime Over Time
Total runtime duration per benchmark for just the development version of YJIT.

Preview of headline benchmark timing history

  •    x86_64 railsbench   
  •    x86_64 optcarrot   
  •    x86_64 liquid-render   
  •    x86_64 activerecord   
Y axis values are the total number of seconds to run the benchmark one time - lower is better.

Do you love extensive details?