Current performance figures

greenDAO is designed for high performance. So let’s have a look at the latest performance results using a standard Nexus S for the upcoming 1.0 release:


Compared to the last preview release, loading entities was significantly improved. Especially loading for the first time entities with standard identity scope (the default configuration) got faster, actually twice as fast as before!

Remember, the identity scope also serves as a cache for entities. Using it, you can perform queries with a rate of 20,000 entities per second given that the entities are cached.

Side note: in contrast to queries, greenDAO’s load operations using the ID do not have to contact the database at all. Using load operations with cached entities result in rates of over 100,000 entity look ups per second.

Spread the love
Posted in Open Source and tagged , , .