Heejae Chang

Results 464 comments of Heejae Chang

are you saying symbolic link is causing the perf issue? or are you talking about something else?

my guess is some configuration mess up? probably log would give us something to look at. but that said, links I shared above would be good point of start. >...

@willjhenry without any actual log or profile data, there is not much we can help from our side. @RanitBehera in your case, it looks like `SPM.py` takes long time for...

so, this is the interesting part in the log. ``` 2024-11-16 14:53:11.591 [info] (2929306) [BG(1)] analyzing: file:///mnt/home/student/cuser/USER/Repo/galspy/src/galspec/SPM.py ... 2024-11-16 14:53:11.591 [info] (2929306) [BG(1)] checking: file:///mnt/home/student/cuser/USER/Repo/galspy/src/galspec/SPM.py ... 2024-11-16 14:53:11.591 [info] (2929306)...

@RanitBehera I was wondering why some of parsing was so slow such as these ``` parsing: file:///mnt/home/student/cuser/USER/Repo/galspy/src/galspec/SPM.py (5399ms) parsing: file:///mnt/home/student/cuser/USER/Repo/galspy/console/commands/mpgadget_run/csnap.py [fs read 95ms] (795ms) parsing: file:///mnt/home/student/cuser/.vscode-server/extensions/ms-python.vscode-pylance-2024.11.2/dist/typeshed-fallback/stdlib/builtins.pyi (3602ms) and more ```...

@willjhenry I looked at your profile. most of slowness was coming from type eval. as you can see here ![Image](https://github.com/user-attachments/assets/d5c178ed-31fd-40cf-b61b-79546994f301) or ![Image](https://github.com/user-attachments/assets/74889751-a96e-479e-8d9a-8e43f463d541) so, the same things I said (https://github.com/microsoft/pylance-release/issues/6658#issuecomment-2480157991 and...

Yes. When they are missing, pylance will try to figure it out by analyzing the code, such as the function body. For example, if add_numbers was missing type hints, for...

we show errors from any file opened in `vscode`. if your `go to def` opened a file, we will show errors on that file as long as it stays as...

standard library typeshed authors? it would be nice to have a way to categorize problems in UI. so less important errors can group differently than other more important errors.

we could add an option for it, but usually user doesn't leave stdlib file open for long time? they usually either open it to see some definition/signature and close it....