2 ms·
Ruby 1.9 has been out for production for almost 3 years? Cool, how come it's slower than 1.8.7? It's not. File loading in 1.9.2 is notoriously slow and you're
by petercooper 15y ago
Ruby 1.9 has been out for production for almost 3 years? Cool, how come it's slower than 1.8.7?
It's not. File loading in 1.9.2 is notoriously slow and you're probably encountering a common case where mid to large scale Rails 3 apps are loading so many files at runtime that you're hitting it. Everything else is bright and breezy. The story behind much of this: http://www.rubyinside.com/ruby-1-9-3-faster-loading-times-require-4927.html http://www.rubyinside.com/ruby-1-9-3-faster-loading-times-re... - Most people are experiencing significant speedups with 1.9.3 so far but it hasn't had its final release yet.
That aside, speed isn't everything. Python 3 was (is?) slower than Python 2 for quite some time, despite being in production.
- sunkencity 15y agoThat is file loading as in loading ruby source files. A problem aggravated by rails being refactored to be actually readable, but many more files.