« Safari 3.0 / Webkit file upload problem with Rails 1.2 | Main | Guerrilla's Guide to Optimizing Rails Applications »

January 31, 2008

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d83451c8d369e200e5501b5b2d8834

Listed below are links to weblogs that reference Garbage Collection is Why Ruby on Rails is Slow: Patches to Improve Performance 5x; Memory Profiling:

Comments

Joe

I noticed your update for rails2.0.2 for the attributes_with_quotes function. I am running rails2.1 and I am getting the same sort of error:

Error: wrong number of arguments (3 for 2)

c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:2479:in `attributes_with_quotes'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:2479:in `update_without_lock'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/locking/optimistic.rb:70:in `update_without_dirty'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/dirty.rb:137:in `update_without_callbacks'
...

roger matching ties

Also got the 3 for 2 error with rails 2.1. Might be because of using the rails 1.x patch?

Gleb Arshinov

2.1 has some/most of these included stock. So, the patches should not be applied to 2.1 as is. If somebody wants to investigate and create appropriate patch set for 2.1, we'll be happy to post it or link to it.

Steve

Do you have any status update on these patches in regard to Rails 2.1? Have all of the above fixes made their way into 2.1 or do some things still require patching ourselves?

Cheers,
Steve

rogerdpack

Looks like if you use ruby enterprise edition on Linux then it links against ptmalloc2 instead of malloc, resulting in a small speed increase, or so they say.
[1]
-=R
http://groups.google.com/group/emm-ruby/browse_thread/thread/1df52f59b266b9b6/0dadab7d1c94e17b?lnk=gst&q=20+slower#0dadab7d1c94e17b

rogerdpack

oops posted this in the wrong blog entry.
YMMV but ruby enterprise edition is said to link against tmalloc2 on Linux for slightly higher speed.

Shikha

Very helpful! Thanks for posting. Though I am new with applying patches and all, will still try this out.

jSKonnie

Oh finally, We have got good enough article like this good post? We propose to find the thesis service or purchase dissertation subject, just because that helps in receiving the best success if you have dissertation service.

pICHLOE

This is undisputed that the professional essay buying service would write the superb quality paper writer essay for students which don’t have writing skills. It could be the most simple way out for such people, I do think!

ELISABETTAul

I do truly like your distinguished data! Could you accomplish the term research paper as example? Because I know that a professional essays online service is able create well researched research papers of brilliant quality.

Miaow34

I want to argue that an experienced essay writing service seems a light on the way of argumentative essay composing. Thus, all people can use it every time they would like to buy written essays.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Buzzletter

  • Hear about our new Ruby on Rails performance improvements, hacks, recipes, plugins & more. Enter your email below