The recent release of greenDAO 2.0 is reason enough to re-evaluate Android ORM performance in 2015. Here are the results (higher is better):
While the Android ORM space is growing, we compared the 3 most popular ORM solutions for Android: greenDAO, OrmLite, and ActiveAndroid (according to the popularity based on GitHub stars and Appbrain’s stats).
When comparing the results with our initial benchmarks from 2011, you will notice that the absolute values did more than double. Of course, this is mostly due to CPU and IO speed improvements in the last 4 years. The relative values compared to OrmLite did not change significantly.
About the benchmark tests:
- The tests were run on a Nexus 5 with Android 5.1
- The values are the average of 8 separate runs
- The benchmark code is open source