<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Autotest CPU Fix</title>
	<atom:link href="http://blog.netphase.com/2008/01/05/autotest-cpu-fix/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.netphase.com/2008/01/05/autotest-cpu-fix/</link>
	<description>for a connected world</description>
	<pubDate>Thu, 20 Nov 2008 11:06:46 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Zubin</title>
		<link>http://www.netphase.com/2008/01/05/autotest-cpu-fix/#comment-103</link>
		<dc:creator>Zubin</dc:creator>
		<pubDate>Tue, 26 Feb 2008 23:48:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.netphase.com/2008/01/05/autotest-cpu-fix/#comment-103</guid>
		<description>After editing my ~/.autotest file as described, got this message when starting autotest:

hook run has been deprecated, use initialize

After making the change suggested by Scott (thanks!), the message disappeared.

But it still ran slow, so I added more directories. Responds about 10 times faster now!

Here's what I did (some are probably already excluded by default):

Autotest.add_hook :initialize do &#124;autotest&#124;
  autotest.add_exception(/^\.\/vendor/)
  autotest.add_exception(/^\.\/artwork/)
  autotest.add_exception(/^\.\/public/)
  autotest.add_exception(/^\.\/db/)
  autotest.add_exception(/^\.\/lib/)
  autotest.add_exception(/^\.\/tmp/)
  autotest.add_exception(/\.svn/)
end</description>
		<content:encoded><![CDATA[<p>After editing my ~/.autotest file as described, got this message when starting autotest:</p>
<p>hook run has been deprecated, use initialize</p>
<p>After making the change suggested by Scott (thanks!), the message disappeared.</p>
<p>But it still ran slow, so I added more directories. Responds about 10 times faster now!</p>
<p>Here&#8217;s what I did (some are probably already excluded by default):</p>
<p>Autotest.add_hook :initialize do |autotest|<br />
  autotest.add_exception(/^\.\/vendor/)<br />
  autotest.add_exception(/^\.\/artwork/)<br />
  autotest.add_exception(/^\.\/public/)<br />
  autotest.add_exception(/^\.\/db/)<br />
  autotest.add_exception(/^\.\/lib/)<br />
  autotest.add_exception(/^\.\/tmp/)<br />
  autotest.add_exception(/\.svn/)<br />
end</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: scott</title>
		<link>http://www.netphase.com/2008/01/05/autotest-cpu-fix/#comment-52</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Sat, 19 Jan 2008 16:12:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.netphase.com/2008/01/05/autotest-cpu-fix/#comment-52</guid>
		<description>If you're getting the "exceptions already compiled" error, you could  try changing the hook to "Autotest.add_hook :initialize".  I didn't need to do that, but both work.</description>
		<content:encoded><![CDATA[<p>If you&#8217;re getting the &#8220;exceptions already compiled&#8221; error, you could  try changing the hook to &#8220;Autotest.add_hook :initialize&#8221;.  I didn&#8217;t need to do that, but both work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KevinB</title>
		<link>http://www.netphase.com/2008/01/05/autotest-cpu-fix/#comment-51</link>
		<dc:creator>KevinB</dc:creator>
		<pubDate>Fri, 18 Jan 2008 20:03:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.netphase.com/2008/01/05/autotest-cpu-fix/#comment-51</guid>
		<description>Needed to update rspec too - works like a charm.

Thanks!</description>
		<content:encoded><![CDATA[<p>Needed to update rspec too - works like a charm.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KevinB</title>
		<link>http://www.netphase.com/2008/01/05/autotest-cpu-fix/#comment-50</link>
		<dc:creator>KevinB</dc:creator>
		<pubDate>Fri, 18 Jan 2008 19:27:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.netphase.com/2008/01/05/autotest-cpu-fix/#comment-50</guid>
		<description>I have also noticed absurd CPU usage spikes with autotest. So I was happy to see this post. I upgraded ZenTest to 3.8.0 and put the updated code in my ~/.autotest and now get the following bustage:

loading autotest/rails_rspec
/usr/local/lib/ruby/gems/1.8/gems/ZenTest-3.8.0/lib/autotest.rb:515:in `add_exception': exceptions already compiled (RuntimeError)

Any ideas?</description>
		<content:encoded><![CDATA[<p>I have also noticed absurd CPU usage spikes with autotest. So I was happy to see this post. I upgraded ZenTest to 3.8.0 and put the updated code in my ~/.autotest and now get the following bustage:</p>
<p>loading autotest/rails_rspec<br />
/usr/local/lib/ruby/gems/1.8/gems/ZenTest-3.8.0/lib/autotest.rb:515:in `add_exception&#8217;: exceptions already compiled (RuntimeError)</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: austinfromboston</title>
		<link>http://www.netphase.com/2008/01/05/autotest-cpu-fix/#comment-48</link>
		<dc:creator>austinfromboston</dc:creator>
		<pubDate>Thu, 17 Jan 2008 16:39:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.netphase.com/2008/01/05/autotest-cpu-fix/#comment-48</guid>
		<description>This was really helpful, thank you.</description>
		<content:encoded><![CDATA[<p>This was really helpful, thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: th</title>
		<link>http://www.netphase.com/2008/01/05/autotest-cpu-fix/#comment-47</link>
		<dc:creator>th</dc:creator>
		<pubDate>Wed, 16 Jan 2008 19:14:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.netphase.com/2008/01/05/autotest-cpu-fix/#comment-47</guid>
		<description>Thanks!  This helped me stop acts_as_solr from making autotest run in a continuous loop when the plugin log files were updated!</description>
		<content:encoded><![CDATA[<p>Thanks!  This helped me stop acts_as_solr from making autotest run in a continuous loop when the plugin log files were updated!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BrianC</title>
		<link>http://www.netphase.com/2008/01/05/autotest-cpu-fix/#comment-45</link>
		<dc:creator>BrianC</dc:creator>
		<pubDate>Fri, 11 Jan 2008 23:03:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.netphase.com/2008/01/05/autotest-cpu-fix/#comment-45</guid>
		<description>Thanks for posting this. I noticed the same thing but vendor wasn't my issue. I ran 'find' looking for a big chunk of files and found them in .git This is a project where I'm using git-svn. After adding .git to the exception CPU usage is down below 5%.</description>
		<content:encoded><![CDATA[<p>Thanks for posting this. I noticed the same thing but vendor wasn&#8217;t my issue. I ran &#8216;find&#8217; looking for a big chunk of files and found them in .git This is a project where I&#8217;m using git-svn. After adding .git to the exception CPU usage is down below 5%.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Davis</title>
		<link>http://www.netphase.com/2008/01/05/autotest-cpu-fix/#comment-43</link>
		<dc:creator>Ryan Davis</dc:creator>
		<pubDate>Mon, 07 Jan 2008 04:29:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.netphase.com/2008/01/05/autotest-cpu-fix/#comment-43</guid>
		<description>I should have communicated more and synchronized with Dave about the changes I made to @exceptions. sorry. We'll both release something soon to get them back in sync and happier with each other.</description>
		<content:encoded><![CDATA[<p>I should have communicated more and synchronized with Dave about the changes I made to @exceptions. sorry. We&#8217;ll both release something soon to get them back in sync and happier with each other.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
