This repository has been archived by the owner on Jan 14, 2021. It is now read-only.
Slow startup time when creating a new client #536
Labels
bug/0-needs-info
More information is needed for reproduction.
kind/bug
A reported bug.
status/needs-action
Issue has no activity for a long time, needs some action.
topic: performance
I just started using the prisma client and I started a small project following the Getting Started guide. After introspecting my database, I copied in the script from the docs and ran it with
ts-node
; however, it takes about 50 seconds for the lineconst prisma = new PrismaClient();
to execute. The database introspected has a decent amount of tables, but nothing crazy. Is it normal for this step take this long on every start up?Details
script.ts
package.json
The text was updated successfully, but these errors were encountered: