-
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. |
Beta Was this translation helpful? Give feedback.
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. |
Beta Was this translation helpful? Give feedback.
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.