title: Aspose.Words save to PDF first time is slow
body: <p>Is there any way to decrease the execution time of the first run of <code>Document.Save</code> method with Aspose.Words? </p>
  
  <p>Consider:</p>
  
  <pre class="lang-cs prettyprint-override"><code>for (var i = 0; i &lt; 5; i++)
      Run();
  
  static void Run()
  {
      var sw = new Stopwatch();
      sw.Start();
  
      var doc = new Document();
      //doc.UpdatePageLayout(); // Makes no difference
      var memoryStream = new MemoryStream();
      doc.Save(memoryStream, SaveFormat.Pdf);
  
      sw.Stop();
      Console.WriteLine(sw.ElapsedMilliseconds);
  }
  </code></pre>
  
  <p>This code will output:</p>
  
  <pre><code>881
  3
  2
  3
  3
  </code></pre>