This document discusses various ORM libraries and compares their performance. It introduces ORMlite, GreenDAO, Realm, and native SQLite as options for interacting with databases in Android. GreenDAO is highlighted as significantly faster than ORMlite for write and read operations. Performance tests show GreenDAO inserting over 100k records around 7 seconds on average, while ORMlite took over 40 seconds. Realm was also faster than ORMlite but slower than GreenDAO. The document encourages using more performant options like GreenDAO and Realm over ORMlite for database work in Android.
26. ormlite vs greenDao
GreenDao is much faster than ORMLite. It is roughly:
●3X faster at writing large numbers of objects.
●50% faster at reading in all 10000 entries in a single table.
●2X to 3X faster at an indexed read of a single row (though both were very fast).
●15X faster at doing a LIKE search for 100 records in a 10000 entry table.