Comparison of GreenDao and Room ORM Systems
Abstract
This paper focuses on comparison of two ORM libraries for Android: greenDao and Room. Ways of using these frameworks are presented. Time consumption of creating, reading, updating and deleting records are measured. Tables and charts containing results are presented. Finally analysis and conclusions are made.
Keywords:
Android; ORM; greenDao; RoomReferences
[1] https://gs.statcounter.com/os-market-share/mobile/worldwide [30.09.2019]
[2] Chuanlong Xia, Guangcan Yu, Meng Tang: Efficient Implement of ORM (Object/Relational Mapping) Use in J2EE Framework: Hibernate. 2009 IEEE International Conference on Computational Intelligence and Software Engineering
[3] J. Pu, Z. Song, E. Tilevich, Understanding the Energy, Performance, and Programming Effort Trade-Offs of Android Persistence Frameworks, 2016 IEEE 24th International Symposium on Modeling, Analysis and Simulation of Computer and Telecommunication Systems
[4] http://greenrobot.org/android/android-orm-performance-2016
[14.10.2019]
[5] http://greenrobot.org/android/benchmarking-on-android/ [11.10.2019]
[6] Allen Grant, Beginning Android, Apress, 2015
[7] MacLean Dave, Komatineni Satya, Allen Grant, Pro Android 5, Apress, 2015
[8] https://developer.android.com/guide/components/activities/activity-lifecycle [05.10.2019]
[9] http://greenrobot.org/greendao/documentation/introduction/ [04.10.2019]
[10] https://developer.android.com/training/data-storage/room [04.10.2019]
[2] Chuanlong Xia, Guangcan Yu, Meng Tang: Efficient Implement of ORM (Object/Relational Mapping) Use in J2EE Framework: Hibernate. 2009 IEEE International Conference on Computational Intelligence and Software Engineering
[3] J. Pu, Z. Song, E. Tilevich, Understanding the Energy, Performance, and Programming Effort Trade-Offs of Android Persistence Frameworks, 2016 IEEE 24th International Symposium on Modeling, Analysis and Simulation of Computer and Telecommunication Systems
[4] http://greenrobot.org/android/android-orm-performance-2016
[14.10.2019]
[5] http://greenrobot.org/android/benchmarking-on-android/ [11.10.2019]
[6] Allen Grant, Beginning Android, Apress, 2015
[7] MacLean Dave, Komatineni Satya, Allen Grant, Pro Android 5, Apress, 2015
[8] https://developer.android.com/guide/components/activities/activity-lifecycle [05.10.2019]
[9] http://greenrobot.org/greendao/documentation/introduction/ [04.10.2019]
[10] https://developer.android.com/training/data-storage/room [04.10.2019]
Lewiński, M. (2020). Comparison of GreenDao and Room ORM Systems. Journal of Computer Sciences Institute, 14, 43–47. https://doi.org/10.35784/jcsi.1574
Statistics
Abstract views: 303PDF downloads: 313
License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.