4 ms·
Don't get too excited. This is a micro-benchmark and not representative of what most real world apps will see. A benchmark of something the scope of a typical
by EgoIncarnate 9y ago
Don't get too excited. This is a micro-benchmark and not representative of what most real world apps will see.
A benchmark of something the scope of a typical rails app is likely to be much much less. Earlier descriptions of MJIT mention benchmark tests that were only ~11% improvement until the benchmark was "tuned" for the JIT. [1]
If you're modifying the the benchmark specifically for the JIT, it's not really a valid benchmark IMHO.
[1] https://medium.com/@k0kubun/the-method-jit-compiler-for-ruby-2-6-388ee0989c13 https://medium.com/@k0kubun/the-method-jit-compiler-for-ruby...
- daveroberts 9y agoAre there any good real world benchmarks for Ruby?