-
Notifications
You must be signed in to change notification settings - Fork 7
Performance
CPOrm has a very decent performance, and compares favorably against other ORM's. Here are some performance statics tested using and LG G3 running lollipop.
- Single Inserts: 203 records in 1 second
- Batch Inserts: 4950 records in 1 second
- Single Updates: 242 records in 1 second
- Reads no Cache: 12 502 records in 1 second
- Reads with Cache: 136 445 records in 1 second
From the above statics one can see that the ORM performs reasonably well with single inserts and updates. But considering most applications will not do that batch heavy processing, it still does remarkably well in that it just takes a couple of milliseconds per record.
The import part of any application is the read time, and this is where CPOrm excels, it is remarkably quick when reading information, and when using the built in caching that is enable by default on cursors, the performance shoots through the roof, which is especially helpful with list views that need the quick read permanence.