<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Performance on Emad Alashi</title>
    <link>https://emadashi.com/tags/performance/</link>
    <description>Recent content in Performance on Emad Alashi</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Wed, 12 May 2010 07:16:19 +0000</lastBuildDate>
    <atom:link href="https://emadashi.com/tags/performance/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Stressful Situations Make You Stupid</title>
      <link>https://emadashi.com/2010/05/stressful-situations-make-you-stupid/</link>
      <pubDate>Wed, 12 May 2010 07:16:19 +0000</pubDate>
      <guid>https://emadashi.com/2010/05/stressful-situations-make-you-stupid/</guid>
      <description>&lt;p&gt;Today we came across an interesting issue at work: we have two teams A and B who interchange API calls. Team A needed an API from team B to process a business that is owned by team B of course. The signature was like the following:&lt;/p&gt;
&lt;p&gt;public OutputEntity MyMethod(List listOfIds);&lt;/p&gt;
&lt;p&gt;It appeared afterward that this method was very slow, and the client was already very upset about the low performance, which consequently caused big pressure on the teams by the superiors to enhance the performance.&lt;br&gt;
After investigating the issue, it appeared that the list of ID&amp;rsquo;s sent as input consists of some ID&amp;rsquo;s that do not need to be processed, this criteria of “not need to be processed” is a business owned by team B, done by using properties of the entities these ID&amp;rsquo;s represent. So the  solution to this issue was one of the following:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Suspecting already used code</title>
      <link>https://emadashi.com/2008/06/suspecting-already-used-code/</link>
      <pubDate>Sun, 22 Jun 2008 14:37:12 +0000</pubDate>
      <guid>https://emadashi.com/2008/06/suspecting-already-used-code/</guid>
      <description>&lt;p&gt;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!&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
