This is a consequence of money getting more expensive. When rates are low, investors pile money into non-revenue producing startups in hopes that something will return 1000x. Now rates are up and the smart money is moving elsewhere.
real 2m35.450s
user 2m35.257s
sys 0m0.139s
On jruby with invokedynamic: time ruby -Xcompile.invokedynamic=true file2.rb C-large-1.in
real 1m17.711s
user 1m15.618s
sys 0m0.830s
In jruby without invokedynamic
time ruby file2.rb C-large-1.in real 1m37.856s
user 1m39.260s
sys 0m0.854s