Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Slow startup using ruby 1.9.2 vs 1.8.7

Received: by 10.229.68.10 with SMTP id t10mr3071305qci.25.1294666249761;
        Mon, 10 Jan 2011 05:30:49 -0800 (PST)
X-BeenThere: rubyonrails-core@googlegroups.com
Received: by 10.229.197.8 with SMTP id ei8ls5347491qcb.1.p; Mon, 10 Jan 2011
 05:30:42 -0800 (PST)
Received: by 10.229.213.75 with SMTP id gv11mr2781651qcb.26.1294666242519;
        Mon, 10 Jan 2011 05:30:42 -0800 (PST)
Received: by 10.229.213.75 with SMTP id gv11mr2781650qcb.26.1294666242493;
        Mon, 10 Jan 2011 05:30:42 -0800 (PST)
Return-Path: <k...@metaskills.net>
Received: from mail.actionmoniker.com (mail.actionmoniker.com [70.169.150.165])
        by gmr-mx.google.com with ESMTP id j6si5510939qcu.10.2011.01.10.05.30.42;
        Mon, 10 Jan 2011 05:30:42 -0800 (PST)
Received-SPF: neutral (google.com: 70.169.150.165 is neither permitted nor denied by best guess record for domain of k...@metaskills.net) client-ip=70.169.150.165;
Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 70.169.150.165 is neither permitted nor denied by best guess record for domain of k...@metaskills.net) smtp.mail=...@metaskills.net
Received: from mc1.actionmoniker.com (unknown [10.0.1.51])
	by mail.actionmoniker.com (Postfix) with ESMTPSA id B859134C279
	for <rubyonrails-core@googlegroups.com>; Mon, 10 Jan 2011 08:30:41 -0500 (EST)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Apple Message framework v1082)
Subject: Re: [Rails-core] Slow startup using ruby 1.9.2 vs 1.8.7
From: Ken Collins <k...@metaskills.net>
In-Reply-To: <AANLkTim10Pa6+edya_x6v-djEfXrKANOw32hE6HgQRGr@mail.gmail.com>
Date: Mon, 10 Jan 2011 08:30:41 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <5370142B-5B5F-4093-A1C8-5EFDAF6337C5@metaskills.net>
References: <AANLkTim10Pa6+edya_x6v-djEfXrKANOw32hE6HgQRGr@mail.gmail.com>
To: rubyonrails-core@googlegroups.com
X-Mailer: Apple Mail (2.1082)


I somewhat mentioned this [1] when I was running ActiveRecord tests =
under 1.9.2 vs 1.8.7. Someone else mentioned there was a bug fix [2] =
which I can see is applied to both 3-0-stable/2-3-stable. Even though =
after this, I still found 1.9.2 to be way slower. I never did the =
legwork to find out if it was startup time or otherwise.

I just tested a project of mine on rails 3.0.3 under the latest 1.9.2 =
and 1.8.7 and I can confirm your results from the other thread. I can =
see boot times and tests taking twice as long under 1.9.2 vs 1.8.7. I =
too would love to see more investigation and a resolution to this.

[1] =
http://groups.google.com/group/rubyonrails-core/browse_thread/thread/fb4bb=
f2cc314d51e
[2] =
https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/5410


 - Ken


On Jan 10, 2011, at 7:30 AM, Colin Law wrote:

> There has been an ongoing thread [1] on the RoR talk list about
> startup time using Rails 3 with Ruby 1.9.2.  Do not be confused by the
> subject of the thread, which mentions 1.9.1, it has moved on to 1.9.2.
> The gist is that on Ubuntu (and possibly Macs) the startup time when
> using 1.9.2 can be very much greater then 1.8.7, even with a minimal
> app.  This applies to running tests, migrations, server startup and so
> on.
>=20
> Can anyone here throw any light on this?
>=20
> Thanks in advance
>=20
> Colin
>=20
> [1] =
http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/f3a7e=
26f8ef528fe