From: Dmitry Nikiforov Date: 2012-02-04T03:56:32+09:00 Subject: Re: Basic Ruby performance Tried rubinius and jruby. Rubinius so far is the fastest one, but still slower than Perl. The empty "for" loop runs about as fast as "while" or .each (10 seconds - rubinius, 3.5 seconds - Perl), although .times takes only 6 seconds. Regexp match using / test /.match works about the same as s =~ / test /, and is about 5 seconds, vs. Perl's 1.4s (1e7 repetitions), although, seeing as there's such a huge difference in just empty loop alone it's hard to tell if it's because regexps themselves are slower in Ruby, or if it's because of the regexp engine... :( jruby is just as slow as regular ruby 1.9.3. -- Posted via http://www.ruby-forum.com/.