Comparing the Performance of ORMs
Modern application development requires efficient data access, and Object-Relational Mapping (ORM) tools simplify SQL operations by enabling developers to interact with databases using object-oriented paradigms. This study compares the performance of three widely used ORMs Prisma, TypeORM, and Sequelize when used with PostgreSQL in a Docker-based TypeScript environment. The experiments involved four types of table relationships: Single Table, One-to-One, One-to-Many, and Many-to-Many. Performance was evaluated based on response time, memory usage, and CPU utilization. The findings suggest that no single ORM outperforms the others in every aspect, as each tool has distinct advantages and limitations depending on the use case. This study aims to provide developers with insights into selecting the most appropriate ORM for their projects, thereby enhancing the efficiency of database management in modern application development.
Publication Details
- Journal
- SHILAP Revista de lepidopterología
- Published
- 2025-01-01
- DOI
- https://doi.org/10.14456/jcct.2025.16
- Primary Topic
- Geochemistry and Geologic Mapping
- Type
- article
- Field-Weighted Citation Impact
- 0.00