Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

John McAliley's latest activity

Wednesday, July 14 2010
5098 Rails 3 Beta 4 ActiveRecord 5X slower than Rails 2.3.5 was updated in Ruby on Rails
  • John McAliley
    • Assigned user set to Emilio Tagua
    by John McAliley at 2:12 PM

    oops.. looks like I accidentally wiped out assigned user.. setting it back to Emilio

  • John McAliley
    • Assigned user cleared.
    by John McAliley at 2:09 PM

    Here is another profile similar to Miles, if you need more data. OSX 10.5.8, Ruby 1.9.2 preview3, Rails Edge vs OSX 10.5.8, Ruby 1.8.6, Rails 2.3.2

    require 'ru...
  • John McAliley
    John McAliley commented at 3:33 AM

    @Miles - At first glance it appears that it executes the queries, but take a look at this:

    p User.where(:id => rand(5000) + 1).class
    ActiveRecord::Relation


    ...
Tuesday, July 13 2010
5098 Rails 3 Beta 4 ActiveRecord 5X slower than Rails 2.3.5 was updated in Ruby on Rails
  • John McAliley
    John McAliley commented at 2:54 PM

    Another test w/ Rails3 edge instead of beta4 gems. Performance is better in Rails 3 edge, but still not as good as 2.3.2. But acceptable for my app.

    @drjoke - S...

  • John McAliley
    John McAliley commented at 1:32 PM

    I apologize, but that last test is incorrect. The queries were not even executed.. I did not realize it was lazy loaded. I added a print statement so the query ...

  • John McAliley
    John McAliley commented at 12:49 PM

    Rails3 beta4, Ruby 1.9.2 preview 3. This time on CentOS 5.5 instead of dev Mac.
    Production in console. I tested several models, 5 times each. Similar results in...

Monday, July 12 2010
5098 Rails 3 Beta 4 ActiveRecord 5X slower than Rails 2.3.5 was updated in Ruby on Rails
  • John McAliley
    John McAliley commented at 6:55 PM

    I am also seeing bad performance using similar find queries. Rails3beta 4 and Ruby 1.9.2preview3 (RVM) on my Mac.

    Something strange I noticed was this:

    RAILS 3....

Tuesday, June 22 2010
4822 Rails3 beta4 + Ruby 1.9 was updated in Ruby on Rails
  • John McAliley
    • Assigned user cleared.
    by John McAliley at 9:53 PM

    Greg,
    Are you upgrading an app or was this from a new app generated with "rails new myapp"? I was getting the same error when I started the console on an app th...