ParadeGrotesque, Ruby might be faster than you think:
https://www.johnhawthorn.com/2024/ruby-might-be-faster-than-you-think/
In other words:
First, check your ruby code for strangleholds and remove them.
Then, use the Ruby JIT for an easy speed boost
Finally, rewrite the whole thing if needed.
Lobste.rs discussion here:
https://lobste.rs/s/hnp82i/ruby_might_be_faster_than_you_think