AndroidDatabaseLibraryComparison
AndroidDatabaseLibraryComparison copied to clipboard
Add Realm comparison
Great information but would like to see how realm.io compares
+1 even though it's not using sqlite internally.
Aditionally I would publish that Raizlabs is the owner/maintainer of DBFlow (which IMHO the winner) - just for the completeness
Did you look at the graphs? DBFlow is not always the winner. But as for Realm this is a comparison of SQLite libs.
Realm will be much faster in these cases since the library keeps a pointer to rows in their internal structures when you reference realmobjects. What this means as it skirts the conversion of objects into copies of the data. Rather getting a value from an object, it does a direct query on the row the object points to. So when loading its "faster", but really what it's doing is pointing to the rows in the form of stub objects and you still need to load the data. The next bit is you can't pass these objects around threads and I need to do another comparison, but saving/inserting isn't really all that much faster than SQLite. :)