title: ORM performance: is greenDAO faster than ORMLite?
body: <p>I've been using ORMLite in my application and I was considering whether to move to greenDAO.</p>
  
  <p>Performance is a huge part of that decision, and <a href="http://greendao-orm.com/features/">greenDAO's Features page</a> says:</p>
  
  <blockquote>
    <p>For the same given entity, greenDAO inserts and updates entities over
    2 times faster, and loads entities 4.5 times faster for loading
    entities than ORMLite.<br>
    ...<br>
    (Figures and chart updated 10-23-2011)</p>
  </blockquote>
  
  <p>I thought <a href="http://ormlite.com/javadoc/ormlite-core/doc-files/ormlite_4.html#Config-Optimization">ORMLite's config file generation</a> step should remove the need for reflection at runtime.  </p>
  
  <p>The ORMLite <a href="http://ormlite.com/changelog.txt">changlog</a> suggests that the greenDAO benchmark was done after the config file feature was released, but the greenDAO features page doesn't explicitly say if a static config file was generated for the test.</p>
  
  <blockquote>
    <p>4.26: 9/26/2011 (svn r1978)<br>
     * ANDROID: Added field configuration utility to avoid Dao creation performance problems with annotations.</p>
  </blockquote>
  
  <p>There have also been ORMLite performance fixes since then, e.g.</p>
  
  <blockquote>
    <p>4.40: 4/16/2012 (svn r2516)<br>
     * ANDROID: Big performance bug fix when creating DAOs. Foreign fields always used reflection instead of table configs.</p>
  </blockquote>
  
  <p>Can anybody confirm if there is still a big performance difference between greenDAO and ORMLite?  Thanks!</p>