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

February 06, 2008

TrackBack

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

Listed below are links to weblogs that reference Make Your Ruby/Rails App Fast: Performance And Memory Profiling Using ruby-prof and KCachegrind:

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)

JenifferiC

Some thesis services are presently looking for your hot idea related to this topic for their thesis papers creating.

Destiny

This is a great tip.
http://www.rapidsharemix.com

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