-
-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
trpc-openapi
tanks our Intellisense performance by 100%
#433
Comments
Same here. Best workaround for now is to uninstall |
@timscullin that's a great workaround that we didn't think of. We ended up removing I think a mix of solutions is needed so that this ecosystem's TypeScript compiler performance improves which IMO is the true underlying issue. It looks like the generated and inferred types from packages used with tRPC result in types that are too complex. |
@divmgl yeah agree, I was thinking about that looking at some other language server performance. |
Just a heads up that in our project
trpc-openapi
is tanking our Intellisense performance, specifically the TypeScript Language Server. OurgetCompletionData
calls go from 1.1s to 2.2s (100% performance degradation) just for having the package installed in the.meta
section of our tRPC app.I apologize I don't have a base repro for you (we can't share our internal codebase). You might be able to recreate this using tRPC's
BigBoi
test: https://github.com/trpc/trpc/blob/1d017dd603cdf32689258baa487bc43166d9d199/packages/tests/server/react/bigBoi.test.tsx#L4The text was updated successfully, but these errors were encountered: