DEV Community

Discussion on: Benchmark: Prisma VS TypeORM

Collapse
 
nicolaslopes profile image
Nicolas Lopes Aquino • Edited

i don't think so, as @joelbonetr said, probably TypeORM is doing some weird async thing to fetch the data. Prisma transpile all their .prisma -> .d.ts once you execute the prisma generate command. Another good strategy to see that more accurate is to create different users to the database, and then profile which queries are taking longer (you can get that by doing some queries on the pg_stat_activity