diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2009-01-12 18:49:41 +0000 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2009-01-12 18:49:41 +0000 |
commit | 3bf2ee57b01084b8cbe6222c1eacb4cd2b37cd6c (patch) | |
tree | 76b2cefc5e777c833073419b8a291d26d1c26e03 /railties/doc/guides/html/performance_testing.html | |
parent | 2a00f72acad1657b08ec4cef515ffbb693883aa3 (diff) | |
download | rails-3bf2ee57b01084b8cbe6222c1eacb4cd2b37cd6c.tar.gz rails-3bf2ee57b01084b8cbe6222c1eacb4cd2b37cd6c.tar.bz2 rails-3bf2ee57b01084b8cbe6222c1eacb4cd2b37cd6c.zip |
Update internal middlewares/purpose table.
Diffstat (limited to 'railties/doc/guides/html/performance_testing.html')
-rw-r--r-- | railties/doc/guides/html/performance_testing.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/doc/guides/html/performance_testing.html b/railties/doc/guides/html/performance_testing.html index 817b9dbe84..55b181dccd 100644 --- a/railties/doc/guides/html/performance_testing.html +++ b/railties/doc/guides/html/performance_testing.html @@ -574,7 +574,7 @@ http://www.gnu.org/software/src-highlite --> <pre><tt>ActionController<span style="color: #990000">::</span>Base<span style="color: #990000">.</span>perform_caching <span style="color: #990000">=</span> <span style="font-weight: bold"><span style="color: #0000FF">true</span></span>
ActiveSupport<span style="color: #990000">::</span>Dependencies<span style="color: #990000">.</span>mechanism <span style="color: #990000">=</span> <span style="color: #990000">:</span>require
Rails<span style="color: #990000">.</span>logger<span style="color: #990000">.</span>level <span style="color: #990000">=</span> ActiveSupport<span style="color: #990000">::</span>BufferedLogger<span style="color: #990000">::</span>INFO</tt></pre></div></div>
-<div class="paragraph"><p>As <tt>ActionController::Base.perform_caching</tt> is set to <tt>true</tt>, performance tests will behave much as they do in the <tt>production</tt> environment.</p></div> +<div class="paragraph"><p>As <tt>ActionController::Base.perform_caching</tt> is set to <tt>true</tt>, performance tests will behave much as they do in the <tt>production</tt> environment.</p></div>
<h3 id="gc">1.8. Installing GC-Patched Ruby</h3>
<div class="paragraph"><p>To get the best from Rails performance tests, you need to build a special Ruby binary with some super powers - <a href="http://rubyforge.org/tracker/download.php/1814/7062/17676/3291/ruby186gc.patch">GC patch</a> for measuring GC Runs/Time and memory/object allocation.</p></div>
<div class="paragraph"><p>The process is fairly straight forward. If you’ve never compiled a Ruby binary before, follow these steps to build a ruby binary inside your home directory:</p></div>
@@ -879,7 +879,7 @@ http://www.gnu.org/software/src-highlite --> <div class="ulist"><ul>
<li>
<p>
-January 9, 2009: Complete rewrite by <a href="../authors.html#lifo">Pratik</a> +January 9, 2009: Complete rewrite by <a href="../authors.html#lifo">Pratik</a>
</p>
</li>
<li>
|