title: Laravel lag spikes
body: <p>when i use the apache benchmark in Laravel, i got some serious lag at random request.
  Sometimes an error happens that tell me the script is too long to run.</p>
  
  <p>this come from the files : </p>
  
  <pre><code>Vendor\Symfony\Component\Finder\Iterator\DateRangeFilterIterator.php
  </code></pre>
  
  <p>In this function :</p>
  
  <pre><code>public function accept()
  {
      $fileinfo = $this-&gt;current();
  
      if (!file_exists($fileinfo-&gt;getRealPath())) {
          return false;
      }
  
      $filedate = $fileinfo-&gt;getMTime();
      foreach ($this-&gt;comparators as $compare) {
          if (!$compare-&gt;test($filedate)) {
              return false;
          }
      }
  
      return true;
  }
  </code></pre>
  
  <p><a href="http://i.stack.imgur.com/6Kwdm.png" rel="nofollow">Here is the report</a></p>
  
  <p><a href="http://i.stack.imgur.com/jxZqH.png" rel="nofollow">And the report when i set the accept function to return true;</a></p>
  
  <p>If i remove the function and just remplace by return true; the lag stop but this function probably serve to somethings no ? I hope you have a solution, thanks</p>