IDE massive performance downgrade from 6.2.1 (omitApi problem?)
I was wondering what was causing my VSCode intellisense and CodeFormatting to be so slow lately. Intellisense was taking and average of 5 seconds to display accross my project.
I found out that if I downgrade to 6.2.0 everything is restored and working fine. If I install 6.2.1 or later my intellisense is agonising after regenerating my schema.
I'm using SQL Server and rely on prisma db pull and prisma generate to create my schema.
9 Replies
Salutations, traveler! I'm the Prisma AI Help Bot. You've reached a fork in the road: one path leads to the wisdom of the human sages (ETA: sometime today), and the other to my instantaneous insights. Which way shall we go?
Hi @danbord#3379
Do you have a reproduction you can share?
If I install 6.2.1 or later my intellisense is agonising after regenerating my schema.Do you experience this in 6.3.1 as well?
No unfortunately I cannot share my project. But here are the details I can provide
- SQL Server
- Databse Contains about 20 tables
- I generate my schema with
prisma db pull
then prisma generate
. Its storing the client model in node_modules (as defaults)
- I'm using pnpm
- I tried every version up to 6.3.1
Thank you for sharing. Do you mind creating an issue on github so the engineering team can dig into this further?
Someone already created an issue, I added details in it
GitHub
Intellisense performance degradation · Issue #26222 · prisma/prisma
Bug description We noticed when migrating from Prisma 6.0.1 to Prisma 6.2.1 or 6.3.0 that the performance with Intellisense has degraded a lot. When using [email protected], we get the suggestions in le...
I also tried something interesting. I added the
omitApi
preview feature with 6.2.0
installed then regenerated my model. That caused the performance downgrade. There's probably something about the generated typescriptThanks for adding to that issue. We'll take a look.
Thanks for taking a look into that @RaphaelEtim 🙂