Mailinglist Archive: opensuse-ruby (32 mails)

< Previous Next >
Re: [opensuse-ruby] rails 3 performance
Am Dienstag 20 März 2012 16:28:09 schrieb Stephan Kulow:
On 20.03.2012 16:21, James Tan wrote:
On 03/20/2012 04:12 PM, Stephan Kulow wrote:
As expected, a GC.disable before the test "improves" performance
GC.disable:
0.258863653 0.552205324

normal with GC
0.579500092 1.455681835

Have you tried tweaking the GC settings?

We are using a patched 1.8.7 Ruby binary with the following tweaks to
improve GC:

I don't intend to patch ruby for rails - rails 2 and rails 3 use the
same ruby version.

Greetings, Stephan

Maybe you should give it a try...

The patch we use is this one:

https://github.com/patshaughnessy/ruby187gc

which is a port from ruby186gc.patch from https://github.com/skaes/railsbench.
There is also a ruby 1.9 version available.

For Studio the performance increase was huge, ~30-50% on susestudio.com and
50% for the test suite.

Andre
--
To unsubscribe, e-mail: opensuse-ruby+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-ruby+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation