https://github.com/masfahru/typescript-orm-benchmark
Benchmark of some TypeScript (and JavaScript) database drivers and ORMs, run on Bun and Node.js
https://github.com/masfahru/typescript-orm-benchmark
bun drizzle-orm javascript knexjs kysely mariadb mikro-orm mysql2 nodejs prisma-orm sequelize-orm typescript
Last synced: 10 months ago
JSON representation
Benchmark of some TypeScript (and JavaScript) database drivers and ORMs, run on Bun and Node.js
- Host: GitHub
- URL: https://github.com/masfahru/typescript-orm-benchmark
- Owner: masfahru
- License: mit
- Created: 2023-10-26T03:00:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-21T01:32:56.000Z (10 months ago)
- Last Synced: 2025-04-21T02:45:08.943Z (10 months ago)
- Topics: bun, drizzle-orm, javascript, knexjs, kysely, mariadb, mikro-orm, mysql2, nodejs, prisma-orm, sequelize-orm, typescript
- Language: TypeScript
- Homepage:
- Size: 1.28 MB
- Stars: 11
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TypeScript (and JavaScript) ORMs Benchmark
Object-Relational Mapping (ORM) is a powerful technique that allows you to interact with databases using the same language you’re using for your application. This project aims to provide an objective assessment of the performance of popular Node.js ORMs.
## Results
Check [results](./results)
## List of ORM
### MySQL
- [DrizzleORM](./src/mysql/drizzle.ts)
- [KnexJS](./src/mysql/knex.ts)
- [Kysely](./src/mysql/kysely.ts)
- [Mariadb](./src/mysql/mariadb.ts)
- [MikroORM](./src/mysql/mikro.ts)
- [MySQL2](./src/mysql/mysql2.ts)
- [Prisma](./src/mysql/prisma.ts)
- [Sequelize](./src/mysql/sequelize.ts)
- [TypeORM](./src/mysql/typeorm.ts)
### PostgreSQL
- [DrizzleORM](./src/postgres/drizzle.ts)
- [KnexJS](./src/postgres/knex.ts)
- [Kysely](./src/postgres/kysely.ts)
- [MikroORM](./src/postgres/mikro.ts)
- [PgTyped](./src/postgres/pg-typed.ts)
- [Pg](./src/postgres/pg.ts)
- [Postgres.js](./src/postgres/postgres.ts)
- [Prisma](./src/postgres/prisma.ts)
- [Sequelize](./src/postgres/sequelize.ts)
- [TypeORM](./src/postgres/typeorm.ts)
## License
This project is licensed under the MIT License. Feel free to explore, contribute, and share your insights!