Skip to content
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

Takes a minute to red-underline a syntax error #6747

Open
Vilin97 opened this issue Dec 7, 2024 · 4 comments
Open

Takes a minute to red-underline a syntax error #6747

Vilin97 opened this issue Dec 7, 2024 · 4 comments
Assignees
Labels
needs repro Issue has not been reproduced yet perf

Comments

@Vilin97
Copy link

Vilin97 commented Dec 7, 2024

Environment data

  • Pylance version: v2024.12.1
  • OS and version: My machine is Windows 10, I SSH to a machine with Ubuntu 20.04.6
  • Python version (& distribution if applicable, e.g. Anaconda): 3.10.15

Code Snippet

Video of the behavior: https://youtu.be/di84BJIDDH0

Repro Steps

I think having an open notebook makes this worse. But I don't really know how to reproduce this consistently. I use this kind of interactive notebook: https://code.visualstudio.com/docs/python/jupyter-support-py.

Expected behavior

Responsive UI

Actual behavior

Extremely slow (~1 minute to red-underline a syntax error, etc)

Logs

Logs
2024-12-06 22:15:32.827 [info] [Info  - 10:15:32 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (7667ms)
2024-12-06 22:15:32.827 [info] [Info  - 10:15:32 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (7710ms)
2024-12-06 22:15:38.749 [info] [Info  - 10:15:38 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5744ms)
2024-12-06 22:15:38.749 [info] [Info  - 10:15:38 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5779ms)
2024-12-06 22:15:44.145 [info] [Info  - 10:15:44 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5308ms)
2024-12-06 22:15:44.145 [info] [Info  - 10:15:44 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5339ms)
2024-12-06 22:15:49.327 [info] [Info  - 10:15:49 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5141ms)
2024-12-06 22:15:49.327 [info] [Info  - 10:15:49 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5171ms)
2024-12-06 22:16:21.790 [info] [Info  - 10:16:21 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5609ms)
2024-12-06 22:16:21.791 [info] [Info  - 10:16:21 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5627ms)
2024-12-06 22:16:27.445 [info] [Info  - 10:16:27 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5518ms)
2024-12-06 22:16:27.445 [info] [Info  - 10:16:27 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5538ms)
2024-12-06 22:17:40.263 [info] [Info  - 10:17:40 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (6571ms)
2024-12-06 22:17:40.264 [info] [Info  - 10:17:40 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (6610ms)
2024-12-06 22:20:52.893 [info] [Info  - 10:20:52 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (6670ms)
2024-12-06 22:20:52.894 [info] [Info  - 10:20:52 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (6720ms)
2024-12-06 22:20:58.444 [info] [Info  - 10:20:58 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5345ms)
2024-12-06 22:20:58.445 [info] [Info  - 10:20:58 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5383ms)
2024-12-06 22:21:03.478 [info] [Info  - 10:21:03 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (4979ms)
2024-12-06 22:21:03.478 [info] [Info  - 10:21:03 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5002ms)
2024-12-06 22:21:08.184 [info] [Info  - 10:21:08 PM] (3913910) [BG(1)] Long operation: SemanticTokens delta previousResultId:1733552452917 at file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (4541ms)
2024-12-06 22:21:12.518 [info] [Info  - 10:21:12 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (3955ms)
2024-12-06 22:21:12.519 [info] [Info  - 10:21:12 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (3985ms)
2024-12-06 22:21:17.942 [info] [Info  - 10:21:17 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5061ms)
2024-12-06 22:21:17.942 [info] [Info  - 10:21:17 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5080ms)
2024-12-06 22:21:23.468 [info] [Info  - 10:21:23 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5454ms)
2024-12-06 22:21:23.468 [info] [Info  - 10:21:23 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5476ms)
2024-12-06 22:21:31.822 [info] [Info  - 10:21:31 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5311ms)
2024-12-06 22:21:31.823 [info] [Info  - 10:21:31 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5328ms)
2024-12-06 22:21:35.295 [info] [Info  - 10:21:35 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (3458ms)
2024-12-06 22:21:35.297 [info] [Info  - 10:21:35 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (3476ms)
2024-12-06 22:21:40.805 [info] [Info  - 10:21:40 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5471ms)
2024-12-06 22:21:40.805 [info] [Info  - 10:21:40 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5491ms)
2024-12-06 22:21:45.710 [info] [Info  - 10:21:45 PM] (3913910) [BG(1)] Long operation: SemanticTokens delta previousResultId:1733552483697 at file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (4878ms)
2024-12-06 22:21:51.596 [info] [Info  - 10:21:51 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5697ms)
2024-12-06 22:21:51.596 [info] [Info  - 10:21:51 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5714ms)
2024-12-06 22:21:56.786 [info] [Info  - 10:21:56 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5074ms)
2024-12-06 22:21:56.786 [info] [Info  - 10:21:56 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5097ms)
2024-12-06 22:22:11.963 [info] [Info  - 10:22:11 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5472ms)
2024-12-06 22:22:11.963 [info] [Info  - 10:22:11 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5495ms)
2024-12-06 22:23:39.472 [info] [Info  - 10:23:39 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5856ms)
2024-12-06 22:23:39.473 [info] [Info  - 10:23:39 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5892ms)
2024-12-06 22:23:45.082 [info] [Info  - 10:23:45 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5507ms)
2024-12-06 22:23:45.082 [info] [Info  - 10:23:45 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5551ms)
2024-12-06 22:23:50.418 [info] [Info  - 10:23:50 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5191ms)
2024-12-06 22:23:50.418 [info] [Info  - 10:23:50 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5222ms)
2024-12-06 22:23:55.629 [info] [Info  - 10:23:55 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5121ms)
2024-12-06 22:23:55.630 [info] [Info  - 10:23:55 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5144ms)
2024-12-06 22:24:01.968 [info] [Info  - 10:24:01 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (4876ms)
2024-12-06 22:24:01.968 [info] [Info  - 10:24:01 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (4892ms)
2024-12-06 22:24:06.494 [info] [Info  - 10:24:06 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (4793ms)
2024-12-06 22:24:06.494 [info] [Info  - 10:24:06 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (4805ms)
2024-12-06 22:24:10.595 [info] [Info  - 10:24:10 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5082ms)
2024-12-06 22:24:10.595 [info] [Info  - 10:24:10 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5097ms)
2024-12-06 22:24:16.301 [info] [Info  - 10:24:16 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5179ms)
2024-12-06 22:24:16.301 [info] [Info  - 10:24:16 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5194ms)
2024-12-06 22:24:20.548 [info] [Info  - 10:24:20 PM] (3913910) [BG(1)] Long operation: SemanticTokens delta previousResultId:1733552635668 at file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (4687ms)
2024-12-06 22:24:27.241 [info] [Info  - 10:24:27 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (4887ms)
2024-12-06 22:24:27.244 [info] [Info  - 10:24:27 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (4905ms)
2024-12-06 22:24:30.493 [info] [Info  - 10:24:30 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (4890ms)
2024-12-06 22:24:30.495 [info] [Info  - 10:24:30 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (4907ms)
2024-12-06 22:24:35.662 [info] [Info  - 10:24:35 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5151ms)
2024-12-06 22:24:35.662 [info] [Info  - 10:24:35 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5165ms)
2024-12-06 22:24:40.746 [info] [Info  - 10:24:40 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5017ms)
2024-12-06 22:24:40.746 [info] [Info  - 10:24:40 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5030ms)
2024-12-06 22:24:45.742 [info] [Info  - 10:24:45 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (4939ms)
2024-12-06 22:24:45.743 [info] [Info  - 10:24:45 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (4952ms)
2024-12-06 22:24:50.806 [info] [Info  - 10:24:50 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5005ms)
2024-12-06 22:24:50.806 [info] [Info  - 10:24:50 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5023ms)
2024-12-06 22:24:55.693 [info] [Info  - 10:24:55 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (4828ms)
2024-12-06 22:24:55.694 [info] [Info  - 10:24:55 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (4836ms)
2024-12-06 22:25:00.925 [info] [Info  - 10:25:00 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5181ms)
2024-12-06 22:25:00.925 [info] [Info  - 10:25:00 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5196ms)
2024-12-06 22:25:06.607 [info] [Info  - 10:25:06 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5564ms)
2024-12-06 22:25:06.608 [info] [Info  - 10:25:06 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5587ms)
2024-12-06 22:25:12.097 [info] [Info  - 10:25:12 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5382ms)
2024-12-06 22:25:12.097 [info] [Info  - 10:25:12 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5397ms)
2024-12-06 22:25:17.751 [info] [Info  - 10:25:17 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5482ms)
2024-12-06 22:25:17.762 [info] [Info  - 10:25:17 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5507ms)
2024-12-06 22:25:20.843 [info] [Info  - 10:25:20 PM] (3913910) [BG(1)] Long operation: SemanticTokens full at untitled:/Interactive-1.interactive.py#Y342sdW50aXRsZWQ%3D (2769ms)
2024-12-06 22:25:28.849 [info] [Info  - 10:25:28 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (8282ms)
2024-12-06 22:25:39.488 [info] [Info  - 10:25:39 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (10280ms)
2024-12-06 22:25:44.816 [info] [Info  - 10:25:44 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (4615ms)
2024-12-06 22:25:44.816 [info] [Info  - 10:25:44 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (4647ms)
2024-12-06 22:26:58.071 [info] [Info  - 10:26:58 PM] (3913910) [BG(1)] Long operation: checking: untitled:/Interactive-1.interactive.py#Y351sdW50aXRsZWQ%3D (2352ms)
2024-12-06 22:26:58.072 [info] [Info  - 10:26:58 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#Y351sdW50aXRsZWQ%3D (2353ms)
2024-12-06 22:26:59.684 [info] [Info  - 10:26:59 PM] (3913910) [BG(1)] Long operation: checking: untitled:/Interactive-1.interactive.py#Y342sdW50aXRsZWQ%3D (2073ms)
2024-12-06 22:26:59.684 [info] [Info  - 10:26:59 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#Y342sdW50aXRsZWQ%3D (2074ms)
2024-12-06 22:27:09.450 [info] [Info  - 10:27:09 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (14453ms)
2024-12-06 22:27:21.862 [info] [Info  - 10:27:21 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (12704ms)
2024-12-06 22:27:34.654 [info] [Info  - 10:27:34 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (13126ms)
2024-12-06 22:27:41.191 [info] [Info  - 10:27:41 PM] (3913910) [BG(1)] Long operation: checking: untitled:/Interactive-1.interactive.py#Y342sdW50aXRsZWQ%3D (2147ms)
2024-12-06 22:27:41.194 [info] [Info  - 10:27:41 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#Y342sdW50aXRsZWQ%3D (2151ms)
2024-12-06 22:27:48.071 [info] [Info  - 10:27:48 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (13272ms)
2024-12-06 22:27:59.432 [info] [Info  - 10:27:59 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11327ms)
2024-12-06 22:28:14.441 [info] [Info  - 10:28:14 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11687ms)
2024-12-06 22:28:24.715 [info] [Info  - 10:28:24 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (12206ms)
2024-12-06 22:28:35.528 [info] [Info  - 10:28:35 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (12067ms)
2024-12-06 22:28:47.039 [info] [Info  - 10:28:47 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11451ms)
2024-12-06 22:28:57.820 [info] [Info  - 10:28:57 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (10615ms)
2024-12-06 22:29:10.872 [info] [Info  - 10:29:10 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11545ms)
2024-12-06 22:29:22.762 [info] [Info  - 10:29:22 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11829ms)
2024-12-06 22:29:35.625 [info] [Info  - 10:29:35 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11370ms)
2024-12-06 22:29:46.552 [info] [Info  - 10:29:46 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11748ms)
2024-12-06 22:29:58.271 [info] [Info  - 10:29:58 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (12274ms)
2024-12-06 22:30:09.076 [info] [Info  - 10:30:09 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (10745ms)
2024-12-06 22:30:20.760 [info] [Info  - 10:30:20 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11596ms)
2024-12-06 22:30:32.643 [info] [Info  - 10:30:32 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11837ms)
2024-12-06 22:30:43.771 [info] [Info  - 10:30:43 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11087ms)
2024-12-06 22:30:55.990 [info] [Info  - 10:30:55 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (12161ms)
2024-12-06 22:31:08.498 [info] [Info  - 10:31:08 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (12414ms)
2024-12-06 22:31:20.070 [info] [Info  - 10:31:20 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11415ms)
2024-12-06 22:31:23.965 [info] [Info  - 10:31:23 PM] (3913910) [BG(1)] Long operation: checking: untitled:/Interactive-1.interactive.py#Y342sdW50aXRsZWQ%3D (2034ms)
2024-12-06 22:31:23.965 [info] [Info  - 10:31:23 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#Y342sdW50aXRsZWQ%3D (2034ms)
2024-12-06 22:31:32.222 [info] [Info  - 10:31:32 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (12082ms)
2024-12-06 22:31:37.308 [info] [Info  - 10:31:37 PM] (3913910) [BG(1)] Long operation: checking: untitled:/Interactive-1.interactive.py#Y342sdW50aXRsZWQ%3D (2783ms)
2024-12-06 22:31:37.309 [info] [Info  - 10:31:37 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#Y342sdW50aXRsZWQ%3D (2784ms)
2024-12-06 22:31:45.635 [info] [Info  - 10:31:45 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (13011ms)
2024-12-06 22:31:56.621 [info] [Info  - 10:31:56 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11205ms)
2024-12-06 22:32:08.443 [info] [Info  - 10:32:08 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11762ms)
2024-12-06 22:32:20.039 [info] [Info  - 10:32:20 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11513ms)
2024-12-06 22:32:33.062 [info] [Info  - 10:32:33 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11698ms)
2024-12-06 22:32:44.965 [info] [Info  - 10:32:44 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11448ms)
2024-12-06 22:32:55.102 [info] [Info  - 10:32:55 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (10866ms)
2024-12-06 22:33:05.441 [info] [Info  - 10:33:05 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11187ms)
2024-12-06 22:33:18.986 [info] [Info  - 10:33:18 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (12019ms)
2024-12-06 22:33:31.012 [info] [Info  - 10:33:31 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11988ms)
2024-12-06 22:33:41.693 [info] [Info  - 10:33:41 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (9349ms)
2024-12-06 22:33:46.915 [info] [Info  - 10:33:46 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5063ms)
2024-12-06 22:33:46.916 [info] [Info  - 10:33:46 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5103ms)
2024-12-06 22:33:50.343 [info] [Info  - 10:33:50 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (3342ms)
2024-12-06 22:33:50.344 [info] [Info  - 10:33:50 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (3368ms)
2024-12-06 22:33:54.331 [info] [Info  - 10:33:54 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (3847ms)
2024-12-06 22:33:54.402 [info] [Info  - 10:33:54 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (3871ms)
2024-12-06 22:33:58.296 [info] [Info  - 10:33:58 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (3928ms)
2024-12-06 22:33:58.296 [info] [Info  - 10:33:58 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (3952ms)
2024-12-06 22:34:03.331 [info] [Info  - 10:34:03 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (4927ms)
2024-12-06 22:34:03.331 [info] [Info  - 10:34:03 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (4963ms)
2024-12-06 22:34:08.072 [info] [Info  - 10:34:08 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (4614ms)
2024-12-06 22:34:08.072 [info] [Info  - 10:34:08 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (4636ms)
2024-12-06 22:34:13.400 [info] [Info  - 10:34:13 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5252ms)
2024-12-06 22:34:13.401 [info] [Info  - 10:34:13 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5267ms)
2024-12-06 22:34:18.557 [info] [Info  - 10:34:18 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5042ms)
2024-12-06 22:34:18.557 [info] [Info  - 10:34:18 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5077ms)
2024-12-06 22:34:23.649 [info] [Info  - 10:34:23 PM] (3913910) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5010ms)
2024-12-06 22:34:23.649 [info] [Info  - 10:34:23 PM] (3913910) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (5022ms)
2024-12-06 22:34:35.171 [info] [Info  - 10:34:35 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11194ms)
2024-12-06 22:34:46.179 [info] [Info  - 10:34:46 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (10941ms)
2024-12-06 22:34:57.344 [info] [Info  - 10:34:57 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11128ms)
2024-12-06 22:35:08.274 [info] [Info  - 10:35:08 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (10898ms)
2024-12-06 22:35:19.471 [info] [Info  - 10:35:19 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11160ms)
2024-12-06 22:35:31.866 [info] [Info  - 10:35:31 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (10900ms)
2024-12-06 22:35:43.600 [info] [Info  - 10:35:43 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11246ms)
2024-12-06 22:35:54.521 [info] [Info  - 10:35:54 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (10795ms)
2024-12-06 22:36:05.469 [info] [Info  - 10:36:05 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (10907ms)
2024-12-06 22:36:14.080 [info] [Info  - 10:36:14 PM] (3913910) [BG(1)] Long operation: checking: untitled:/Interactive-1.interactive.py#Y244sdW50aXRsZWQ%3D (2949ms)
2024-12-06 22:36:14.081 [info] [Info  - 10:36:14 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#Y244sdW50aXRsZWQ%3D (2951ms)
2024-12-06 22:36:18.891 [info] [Info  - 10:36:18 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (13365ms)
2024-12-06 22:36:30.596 [info] [Info  - 10:36:30 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11654ms)
2024-12-06 22:36:41.702 [info] [Info  - 10:36:41 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (10996ms)
2024-12-06 22:36:53.672 [info] [Info  - 10:36:53 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11910ms)
2024-12-06 22:37:05.982 [info] [Info  - 10:37:05 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (12280ms)
2024-12-06 22:37:16.547 [info] [Info  - 10:37:16 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (10530ms)
2024-12-06 22:37:27.576 [info] [Info  - 10:37:27 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (10897ms)
2024-12-06 22:37:38.509 [info] [Info  - 10:37:38 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (10898ms)
2024-12-06 22:37:49.367 [info] [Info  - 10:37:49 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (10811ms)
2024-12-06 22:38:01.030 [info] [Info  - 10:38:01 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11494ms)
2024-12-06 22:38:12.563 [info] [Info  - 10:38:12 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11476ms)
2024-12-06 22:38:23.767 [info] [Info  - 10:38:23 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11158ms)
2024-12-06 22:38:35.594 [info] [Info  - 10:38:35 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11780ms)
2024-12-06 22:38:47.349 [info] [Info  - 10:38:47 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11712ms)
2024-12-06 22:38:59.278 [info] [Info  - 10:38:59 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11890ms)
2024-12-06 22:39:10.462 [info] [Info  - 10:39:10 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11131ms)
2024-12-06 22:39:22.382 [info] [Info  - 10:39:22 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11884ms)
2024-12-06 22:39:33.926 [info] [Info  - 10:39:33 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11500ms)
2024-12-06 22:39:46.837 [info] [Info  - 10:39:46 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11574ms)
2024-12-06 22:39:58.080 [info] [Info  - 10:39:58 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11153ms)
2024-12-06 22:40:08.825 [info] [Info  - 10:40:08 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (10618ms)
2024-12-06 22:40:17.679 [info] [Info  - 10:40:17 PM] (3913910) [BG(1)] Long operation: checking: untitled:/Interactive-1.interactive.py#Y244sdW50aXRsZWQ%3D (2722ms)
2024-12-06 22:40:17.679 [info] [Info  - 10:40:17 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#Y244sdW50aXRsZWQ%3D (2722ms)
2024-12-06 22:40:22.218 [info] [Info  - 10:40:22 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (12922ms)
2024-12-06 22:40:34.938 [info] [Info  - 10:40:34 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (12567ms)
2024-12-06 22:40:46.342 [info] [Info  - 10:40:46 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11270ms)
2024-12-06 22:40:57.679 [info] [Info  - 10:40:57 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11270ms)
2024-12-06 22:41:11.737 [info] [Info  - 10:41:11 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11335ms)
2024-12-06 22:41:20.514 [info] [Info  - 10:41:20 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11434ms)
2024-12-06 22:41:31.060 [info] [Info  - 10:41:31 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (10511ms)
2024-12-06 22:41:42.097 [info] [Info  - 10:41:42 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (10977ms)
2024-12-06 22:41:53.321 [info] [Info  - 10:41:53 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11188ms)
2024-12-06 22:42:04.543 [info] [Info  - 10:42:04 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11174ms)
2024-12-06 22:42:15.877 [info] [Info  - 10:42:15 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11203ms)
2024-12-06 22:42:27.226 [info] [Info  - 10:42:27 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11285ms)
2024-12-06 22:42:38.716 [info] [Info  - 10:42:38 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11457ms)
2024-12-06 22:42:49.947 [info] [Info  - 10:42:49 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11134ms)
2024-12-06 22:43:01.284 [info] [Info  - 10:43:01 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (11282ms)
2024-12-06 22:43:04.231 [info] (Client) Pylance async client (2024.12.1) started with python extension (2024.20.0)
2024-12-06 22:43:04.448 [info] [Info  - 10:43:04 PM] (4102958) Server root directory: file:///home/vilin/.vscode-server/extensions/ms-python.vscode-pylance-2024.12.1/dist
2024-12-06 22:43:04.454 [info] [Info  - 10:43:04 PM] (4102958) Pylance language server 2024.12.1 (pyright version 1.1.389, commit ce1325fc) starting
2024-12-06 22:43:04.477 [info] [Info  - 10:43:04 PM] (4102958) Starting service instance "SBTM-sampling"
2024-12-06 22:43:04.648 [info] [Info  - 10:43:04 PM] Server process exited successfully
2024-12-06 22:43:04.966 [info] [Info  - 10:43:04 PM] (4102958) Loading pyproject.toml file at /home/vilin/SBTM-sampling/pyproject.toml
2024-12-06 22:43:04.980 [info] [Info  - 10:43:04 PM] (4102958) Setting environmentName for service "SBTM-sampling": "3.10.15 (sbtm_env conda)"
2024-12-06 22:43:04.981 [info] [Info  - 10:43:04 PM] (4102958) Setting pythonPath for service "SBTM-sampling": "/home/vilin/miniconda3/envs/sbtm_env/bin/python"
2024-12-06 22:43:04.986 [info] [Info  - 10:43:04 PM] (4102958) No include entries specified; assuming /home/vilin/SBTM-sampling
2024-12-06 22:43:04.989 [info] [Info  - 10:43:04 PM] (4102958) Auto-excluding **/node_modules
2024-12-06 22:43:04.991 [info] [Info  - 10:43:04 PM] (4102958) Auto-excluding **/__pycache__
2024-12-06 22:43:04.991 [info] [Info  - 10:43:04 PM] (4102958) Auto-excluding **/.*
2024-12-06 22:43:05.094 [info] [Info  - 10:43:05 PM] (4102958) Assuming Python version 3.10.15.final.0
2024-12-06 22:43:05.526 [info] [Info  - 10:43:05 PM] (4102958) Found 18 source files
2024-12-06 22:43:07.389 [info] [Info  - 10:43:07 PM] (4102958) Background analysis(1) root directory: file:///home/vilin/.vscode-server/extensions/ms-python.vscode-pylance-2024.12.1/dist
2024-12-06 22:43:07.389 [info] [Info  - 10:43:07 PM] (4102958) Background analysis(1) started
2024-12-06 22:43:07.389 [info] [Info  - 10:43:07 PM] (4102958) Indexer background runner(2) root directory: file:///home/vilin/.vscode-server/extensions/ms-python.vscode-pylance-2024.12.1/dist (index)
2024-12-06 22:43:07.389 [info] [Info  - 10:43:07 PM] (4102958) Indexing(2) started
2024-12-06 22:43:10.696 [info] [Info  - 10:43:10 PM] (4102958) [IDX(2)] Long operation: scan packages file:///home/vilin/SBTM-sampling (3035ms)
2024-12-06 22:43:10.699 [info] [Info  - 10:43:10 PM] (4102958) scanned(2) 323 files over 1 exec env
2024-12-06 22:43:19.313 [info] [Info  - 10:43:19 PM] (4102958) [BG(1)] Long operation: binding: file:///home/vilin/miniconda3/envs/sbtm_env/lib/python3.10/site-packages/scipy/stats/__init__.py (2803ms)
2024-12-06 22:43:22.510 [info] [Info  - 10:43:22 PM] (4102958) [FG] Long operation: binding: file:///home/vilin/miniconda3/envs/sbtm_env/lib/python3.10/site-packages/scipy/stats/__init__.py (2315ms)
2024-12-06 22:43:25.507 [info] [Info  - 10:43:25 PM] (4102958) indexed(2) 323 files over 1 exec env
2024-12-06 22:43:25.892 [info] [Info  - 10:43:25 PM] (4102958) Indexing finished(2).
2024-12-06 22:43:29.615 [info] [Info  - 10:43:29 PM] (4102958) [BG(1)] Long operation: SemanticTokens full at file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (22048ms)
2024-12-06 22:43:34.669 [info] [Info  - 10:43:34 PM] (4102958) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/sbtm/sampler.py (3579ms)
2024-12-06 22:43:34.670 [info] [Info  - 10:43:34 PM] (4102958) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/sbtm/sampler.py (3580ms)
2024-12-06 22:43:40.747 [info] [Info  - 10:43:40 PM] (4102958) [BG(1)] Long operation: checking: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (6006ms)
2024-12-06 22:43:40.748 [info] [Info  - 10:43:40 PM] (4102958) [BG(1)] Long operation: analyzing: file:///home/vilin/SBTM-sampling/scripts/6-vi-annealing.py (6022ms)
2024-12-06 22:43:50.092 [info] [Info  - 10:43:50 PM] (4102958) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (9325ms)

@github-actions github-actions bot added the needs repro Issue has not been reproduced yet label Dec 7, 2024
@KacieKK KacieKK added the perf label Dec 13, 2024
@Vilin97
Copy link
Author

Vilin97 commented Dec 16, 2024

Hi. Any response on this? Thanks!
BTW, I think it's essentially the same issue as #5748.

@rchiodo
Copy link
Contributor

rchiodo commented Dec 16, 2024

Thanks for the issue. We'd need your source code to see what the problem is, or you could follow the steps here to give us an idea what import is taking so long to analyze:

https://github.com/microsoft/pylance-release/wiki/Collecting-data-for-an-investigation.#collecting-type-evaluation-related-data-in-the-log

If you set those values, we should print the import path that's taking so long to evaluate.

@Vilin97
Copy link
Author

Vilin97 commented Dec 17, 2024

Hi.
In the video I attached I was typing in this file: https://github.com/Vilin97/SBTM-sampling/blob/main/scripts/6-vi-annealing.py#L26.
But I observe the same thing for any file with a notebook (not a Jupyter notebook but a VSCode interactive notebook, like in the video).
I think I see in the logs that the notebook itself is getting analyzed, instead of the source code, e.g.
2024-12-06 22:32:55.102 [info] [Info - 10:32:55 PM] (3913910) [BG(1)] Long operation: analyzing: untitled:/Interactive-1.interactive.py#pylancePrefixCell (10866ms)
This seems like the wrong thing to do -- only the raw .py file should be analyzed.

Maybe a quick and dirty workaround would be to allow the user to disable the analysis of all interactive notebooks?

That being said, I only observe this issue when I ssh to a remote server, so maybe that's part of the issue.

Regarding the CPU profiling, I can do that but later.

@Vilin97
Copy link
Author

Vilin97 commented Dec 23, 2024

I am unable to attach pylance_2024.12.1_bg_1_id_0.cpuprofile or to even open it. Maybe it's too big.
The other two .cpuprofile files are attached here:
pylance_2024.12.1_fg_id_0.cpuprofile
pylance_2024.12.1_bg_3_id_0.cpuprofile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs repro Issue has not been reproduced yet perf
Projects
None yet
Development

No branches or pull requests

3 participants