3 ms·
The article mentions: > Ruby 2.1 has many improvements including speedup without severe incompatibilities. You can use this on Rails and some applications, and
by cies 13y ago
The article mentions:
> Ruby 2.1 has many improvements including speedup without severe incompatibilities. You can use this on Rails and some applications, and get more comfortable experience.
Since the changelog is very large I'm still interested in what speedups are part of this release. Anyone?
- gary4gar 13y agoRuby v2.1 have a improved GC which helps a LOT with performace. You can know about Performance changes in these posts: http://tmm1.net/ruby21-rgengc/ http://tmm1.net/ruby21-oobgc/ And 2.1.1 is point release, so only contains bug fixes. It doesn't contain new features.
- stiff 13y agoThere are huge performance improvements in Ruby 2.1.0 as compared to Ruby 2.0.0, I have seen as much as a 2x improvement in real world settings, and they have to with Ruby now having a generational garbage collector: http://www.infoq.com/news/2013/12/ruby21 http://www.infoq.com/news/2013/12/ruby21 I don't think this current patch release itself contains much performance fixes.
- cies 13y agoOk.. I misread that, and assumed the 2.1.1 came with further perf improvements.
- sams99 13y agosee my slides: https://speakerdeck.com/samsaffron/why-ruby-2-dot-1-excites-me https://speakerdeck.com/samsaffron/why-ruby-2-dot-1-excites-... only perf related feature is: RUBY_GC_OLDOBJECT_LIMIT_FACTOR ... you can set it to 1.5 to heavily reduce RSS usage of 2.1