Actions
Bug #21696
openPerformance degradation for long running processes in Ruby 4.0.0-preview2
Bug #21696:
Performance degradation for long running processes in Ruby 4.0.0-preview2
Status:
Open
Assignee:
-
Target version:
-
ruby -v:
ruby 4.0.0preview2 (2025-11-17 master 4fa6e9938c) +PRISM [x86_64-linux]
Description
When running my RubyMeasureResponsetime tool (https://github.com/easydatawarehousing/ruby_measure_responsetime) on Ruby 4.0.0-preview2, a slow but steady performance degradation is measurable.
Both the Rails and the Roda based test applications show this. And both with and without yjit.
The Rails application when using yjit also seems to have increasing memory usage over time.
Running the same tests on Ruby 3.4.7 shows stable performance and memory usage.
I have included some plots showing this behavior.
Files
Actions