title: NLog performance
body: <p>What should the expected overhead be for logging?
  I have tried this example</p>
  
  <pre class="lang-cs prettyprint-override"><code> private class Person
   {
      private static Logger logger = LogManager.GetCurrentClassLogger();
      public string Name { get; private set; }
      public Person(string name)
         {
             Name = name;
             logger.Info("New person created with name {0}", name);
         }
    }
  
    List&lt;Person&gt; people = new List&lt;Person&gt;();
    for (int i = 0; i &lt; MAXTEST; i++)
    {
        people.Add(new Person(i.ToString()));
    }
  </code></pre>
  
  <p>With MAXTEST values of 100,500,1000, 5000</p>
  
  <p>Results in MAXTEST,noLogging, Logging</p>
  
  <pre><code>100,  25ms, 186ms    
  500,  33ms, 812ms    
  1000, 33ms, 1554ms
  5000, 33ms, 7654ms
  </code></pre>
  
  <p>Granted one would probably never log this excessive amount, but it this the performance hit one would expect? </p>
  
  <p>I have also tried using the asyncwrapper in the config</p>
  
  <pre class="lang-xml prettyprint-override"><code> &lt;target name="asyncFile" xsi:type="AsyncWrapper"&gt;
     &lt;target name="file" xsi:type="File" fileName="${basedir}/log.txt" /&gt;
   &lt;/target&gt;
  </code></pre>