|
|
|
|
|
by eregon
1996 days ago
|
|
Interesting results, thanks for sharing, that matches my expectations.
OptCarrot is probably one of the rare cases where Ruby 3.0+JIT is 3x Ruby 2.0.
On most benchmarks, the gains are much smaller. I'll try to run these benchmarks on TruffleRuby (and maybe JRuby) too, would be an interesting comparison. BTW, is there any reason you used 2.1.0 and not 2.0.0? Maybe some issue with 2.0.0? |
|
The Are-we-fast-yet suite is optimized for inter-language comparisons and sets the focus on ideomatic language use and representative algorithms. There is a peer-reviewed scientific publication; here is a preprint: https://stefan-marr.de/papers/dls-marr-et-al-cross-language-...
> is there any reason you used 2.1.0 and not 2.0.0?
The 2.0 version produced errors like "uninitialized constant Process::CLOCK_MONOTONIC (NameError)"; from that I concluded that it is not compatible. I still had to apply a fix (https://bugs.ruby-lang.org/issues/9578) to make Ruby 2.1.0 compile on my test machine. Here is a report version where I compare with Ruby 2.7 instead of 2.1: http://software.rochus-keller.ch/are-we-fast-yet_crystal_rub...