<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>cfis : Must Read Rails Performance Article</title>
    <link>http://cfis.savagexi.com</link>
    <atom:link rel="self" type="application/rss+xml" href="http://cfis.savagexi.com/2008/02/02/must-read-rails-performance-article?format=rss"/>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Charlie Savage's Blog</description>
    <item>
      <title>Comment on Must Read Rails Performance Article by Bob</title>
      <description>&lt;p&gt;I assume multiple &amp;#8220;excepted&amp;#8221;s should be &amp;#8220;accepted&amp;#8221;s.&lt;/p&gt;</description>
      <pubDate>Sat, 02 Feb 2008 22:08:53 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:5ac2be48-311f-4f27-a0cf-b10d86e38918</guid>
      <link>http://cfis.savagexi.com/2008/02/02/must-read-rails-performance-article#comment-5790</link>
    </item>
    <item>
      <title>Comment on Must Read Rails Performance Article by Charlie</title>
      <description>&lt;p&gt;Bob,&lt;/p&gt;

&lt;p&gt;Yes, good catch. Thanks and fixed.&lt;/p&gt;</description>
      <pubDate>Sun, 03 Feb 2008 12:20:20 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:25e9da97-1561-45e4-a5a7-63434488259a</guid>
      <link>http://cfis.savagexi.com/2008/02/02/must-read-rails-performance-article#comment-5803</link>
    </item>
    <item>
      <title>Comment on Must Read Rails Performance Article by Aristus</title>
      <description>&lt;p&gt;Any tips on how to install/compile these patches? I&amp;#8217;ve patched the ruby binary and installed ruby-prof-0.6.0 from gem, but RubyProf::MEMORY still evaluates to nil.&lt;/p&gt;</description>
      <pubDate>Mon, 04 Feb 2008 15:58:42 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:aa9724ba-6f5c-423e-b421-b40ee7e7dbd5</guid>
      <link>http://cfis.savagexi.com/2008/02/02/must-read-rails-performance-article#comment-5832</link>
    </item>
    <item>
      <title>Comment on Must Read Rails Performance Article by Charlie</title>
      <description>&lt;p&gt;Hi Aristus,&lt;/p&gt;

&lt;p&gt;The problem is in line 28 of measure_memory.h:&lt;/p&gt;

&lt;p&gt;if defined(HAVE_RB_GC_ALLOCATED_SIZE)&lt;/p&gt;

&lt;p&gt;But that constant is not defined in Alex&amp;#8217;s patch.&lt;/p&gt;

&lt;p&gt;So just uncomment out that #if and it should hopefully work.  And I&amp;#8217;ll ask Alex about it.&lt;/p&gt;</description>
      <pubDate>Mon, 04 Feb 2008 21:33:09 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:a012de14-7c01-4b72-b452-a1cdb8ce06cc</guid>
      <link>http://cfis.savagexi.com/2008/02/02/must-read-rails-performance-article#comment-5838</link>
    </item>
    <item>
      <title>Comment on Must Read Rails Performance Article by Alexander Dymo</title>
      <description>&lt;p&gt;Aristus, to have memory profiler you need to install patched ruby, then make sure the patched ruby interpreter is in the path and build ruby-prof gem.&lt;/p&gt;

&lt;p&gt;extconf.rb in the gem should take care of defining &lt;code&gt;HAVE_RB_GC_ALLOCATED_SIZE&lt;/code&gt; thing.&lt;/p&gt;

&lt;p&gt;If that doesn&amp;#8217;t happen, you can fetch ruby-prof sources from svn trunk and do&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;    cd ext
    ruby extconf.rb
    make
    cd ..
    rake gem
    cd pkg
    gem install ruby-prof-0.6.0.gem
&lt;/code&gt;&lt;/pre&gt;


&lt;p&gt;or something like this.&lt;/p&gt;

&lt;p&gt;See my memory profiling article for more details: &lt;a href="http://blog.pluron.com/2008/02/memory-profilin.html" rel="nofollow"&gt;http://blog.pluron.com/2008/02/memory-profilin.html&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 10 Feb 2008 06:55:39 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:c8a07003-224e-4d3d-b56c-db2a7626a9bd</guid>
      <link>http://cfis.savagexi.com/2008/02/02/must-read-rails-performance-article#comment-6393</link>
    </item>
  </channel>
</rss>
