Replies: 3 comments
-
I'd be happy to diagnose the issue, but I would need access to the code to do so. Diagnosing performance issues like this can be difficult and time-consuming even with a repro. Without a repro, it's almost impossible. One thing that may help you narrow down the issue is to run the command-line version with both the |
Beta Was this translation helpful? Give feedback.
-
Thank you, I've opened #7617. I'm pretty sure there's another issue with an overloaded generic function, but I wasn't able to contain it yet. |
Beta Was this translation helpful? Give feedback.
-
Resolved with the new release. |
Beta Was this translation helpful? Give feedback.
-
Hello
I'm adding type annotations to a project and have been using MyPy. I decided to give Pyright a go, but it turned out to be extremely slow:
MyPy takes several seconds even without a cache.
Unfortunately, I do not have a repro given that this is a large proprietary codebase, otherwise I would've opened an issue. There are a lot of typed dictionaries, which as I understand may be hard to type check, but I can't pinpoint the problem. The verbose mode doesn't seem to report anything useful, just a bunch of
Long operation: analyzing
andLong operation: checking
.Is there any way I can provide useful data given that I can't show the code?
pyright 1.1.357
Beta Was this translation helpful? Give feedback.
All reactions