<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Emad Alashi&#039;s Blog &#187; software management</title>
	<atom:link href="http://www.emadashi.com/index.php/tag/software-management/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.emadashi.com</link>
	<description></description>
	<lastBuildDate>Sun, 15 Jan 2012 10:05:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Suspecting already used code</title>
		<link>http://www.emadashi.com/index.php/2008/06/suspecting-already-used-code/</link>
		<comments>http://www.emadashi.com/index.php/2008/06/suspecting-already-used-code/#comments</comments>
		<pubDate>Sun, 22 Jun 2008 14:37:12 +0000</pubDate>
		<dc:creator>Emad Alashi</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[NHibernate]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[software management]]></category>

		<guid isPermaLink="false">http://eashi.wordpress.com/2008/06/22/suspecting-already-used-code/</guid>
		<description><![CDATA[In one of the modules I am working on, my unit tests used to take tremendous amount of time (4 minutes per test  ). I inherited the NHibernate config file from previous NHibernate test module that was used somewhere before!
At the beginning I thought that this is something common when you use NHibernate with rich [...]]]></description>
			<content:encoded><![CDATA[<p>In one of the modules I am working on, my unit tests used to take tremendous amount of time (4 minutes per test  <a href="http://eashi.files.wordpress.com/2008/06/clip-image0011.gif"><img src="http://eashi.files.wordpress.com/2008/06/clip-image001-thumb1.gif" alt="clip_image001" width="18" height="18" /></a>). I inherited the NHibernate config file from previous NHibernate test module that was used somewhere before!</p>
<p>At the beginning I thought that this is something common when you use NHibernate with rich applications, so I didn’t pay much attention, but then it became a real headache.</p>
<p>One of the best colleagues notified me about an important note, which is that I was loading other domain objects from a shared  module (which I didn’t really need).<br />
I checked the NHibernate config file, and removed the mapping line that includes those shared domain objects, and the time shrank to 15 seconds!<a href="http://eashi.files.wordpress.com/2008/06/clip-image0021.gif"><img src="http://eashi.files.wordpress.com/2008/06/clip-image002-thumb1.gif" alt="clip_image002" width="38" height="18" /></a></p>
<p>The moral of the story is that it’s ok to suspect code we inherit from others, other modules or projects, we might not gain anything by doing that, but I am almost sure that we won’t lose!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.emadashi.com/index.php/2008/06/suspecting-already-used-code/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

