title: Drools 6.5.0 DRL compile time increased 10 times
body: <p>We were using package builder from drools 5.3 earlier.
  Now after the upgrade to 6.5.0.. We are using kie api.
  The compilation time of the drl has increased to 10 times.
  For eg. The below code.</p>
  
  <pre><code>KieServices ks = KieServices.Factory.get();
      KieFileSystem kfs = ks.newKieFileSystem();
      kfs.write(resource);
  
      KieBuilder kb = ks.newKieBuilder(kfs);
  </code></pre>
  
  <p>// the below line now takes 150 seconds for 428 rules. Earlier it was taking 10 seconds.</p>
  
  <pre><code>    kb.buildAll();
  
      results = kb.getResults();
  </code></pre>
  
  <p>Earlier drools version 5.3, jdk 1.7</p>
  
  <p>New version 6.5.0, jdk 1.8</p>
  
  <p>Few questions around this:</p>
  
  <ol>
  <li><p>Does the kie api takes longer time in compiling rules?</p></li>
  <li><p>Is there anything which can be done to improve the performance, increasing RAM for eg.</p></li>
  <li><p>We are calling java classes/methods in our DRLs, could that be a problem?</p></li>
  <li><p>PackageBuilder Api in drools 5.3 was compiling much faster, the same DRLs, do we need to modify our DRL for better performance.. Any links?</p></li>
  </ol>