« Guerrilla's Guide to Optimizing Rails Applications | Main | Make Rails Associations Faster by Optimizing Named Blocks and String Callbacks »

February 06, 2008

Comments

Confabulist

I just wanted to say that these posts have been a fantastic -- a fascinating look at a new (for me) angle on improving rails performance. Keep up the good work!

sujal

Why shouldn't you clone objects? Just curious, as I'm relatively new to Ruby performance tuning.

sujal

never mind, read your other post. Thanks for the info!

Raf

What does it mean too many partials? How many is to many? Is there any ratio of certain code elements that translate to a limited number of partials in the memory?
Saying that we shouldn't render too many partials is like saying cut out as much Ruby code as possible from static HTML until it's fast enough :D.

roger

I second the advice to use kcachegrind--it is truly wonderful for optimizing, esp. the source view [tells you which lines are the most costly within each method] and the tree view. Wow.
Thanks!

Chris irish

Are these patches still relevant? The ruby source ones, for instance, don't apply nicely with

ruby 1.8.6 (2008-03-03 patchlevel 114)

The comments to this entry are closed.

Buzzletter

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