- 4.0.6 is 40-67% faster overall across all test sizes.
- The gap is most significant at N=100,000 (67.3% faster) and smallest at N=5,000 (39.7% faster).
- At N=5,000: 4.0.6 barely notices (+4.3%), while 3.3.8 already pays +57.8%.
- At N=30,000: 4.0.6 stays efficient (+11.0%), while 3.3.8 more than doubles the load time (+115.6%).
- At N=100,000: both versions pay noticeably, but 3.3.8 is dramatically worse (+16.9% vs. +228.0%).
Measured on x86_64-linux, best of five runs per configuration:
ruby 3.3.8 (2025-04-09 revision b200bad6cd)ruby 4.0.6 (2026-07-14 revision 03b6d3f889) +PRISM