3 ms·
The goal of Ruby v3 is to be 3 times faster than v2. https://blog.heroku.com/ruby-3-by-3/ https://blog.heroku.com/ruby-3-by-3/ Unclear if that goal has been a
by splitrocket 6y ago
The goal of Ruby v3 is to be 3 times faster than v2.
https://blog.heroku.com/ruby-3-by-3/ https://blog.heroku.com/ruby-3-by-3/
Unclear if that goal has been achieved.
- anonova 6y agoFrom benchmarks [1], 2.8.0 (with jit) is ~2x faster than 2.0.0p648 [2]. [1]: https://pragtob.wordpress.com/2020/08/24/the-great-rubykon-benchmark-2020-cruby-vs-jruby-vs-truffleruby/ https://pragtob.wordpress.com/2020/08/24/the-great-rubykon-b... [2]: https://pragtob.wordpress.com/2017/01/24/benchmarking-a-go-ai-in-ruby-cruby-vs-rubinius-vs-jruby-vs-truffle-a-year-later/ https://pragtob.wordpress.com/2017/01/24/benchmarking-a-go-a...
- sosodev 6y agoA lot of focus has been on this benchmark https://github.com/mame/optcarrot/ https://github.com/mame/optcarrot/ It has seen huge performance improvements thanks to the mjit but not quite 3x yet.
- geraldbauer 6y agoNot up-to-date but many more ruby 3x3 articles, see https://planetruby.github.io/calendar/ruby3x3 https://planetruby.github.io/calendar/ruby3x3
- Pet_Ant 6y agoPerformance is more of an implementation level change rather than a language change unless they are restricting the language to facilitate new optimisations.