|
I'm currently using ty for typechecking and pyrefly for all other language server features. I wonder if I could get a even better performance by disable type errors. |
Answered by
rchen152
Aug 25, 2025
Replies: 1 comment
|
I believe that disableTypeErrors simply turns off the red squiggles, and we still have to analyze all of the code to provide language server features. So disabling type errors wouldn't make it go faster, unfortunately. Do you have a specific project on which Pyrefly is slower than desired? We're currently investigating a performance issue that seems to be biting multiple projects (#360), so if you're able to share any information about a project or a set of dependencies that Pyrefly takes a long time to analyze, that would be really helpful. |
0 replies
Answer selected by
WayenVan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I believe that disableTypeErrors simply turns off the red squiggles, and we still have to analyze all of the code to provide language server features. So disabling type errors wouldn't make it go faster, unfortunately.
Do you have a specific project on which Pyrefly is slower than desired? We're currently investigating a performance issue that seems to be biting multiple projects (#360), so if you're able to share any information about a project or a set of dependencies that Pyrefly takes a long time to analyze, that would be really helpful.