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

Pylance taking very long to analyze files #6771

Open
apoorv-s opened this issue Dec 13, 2024 · 1 comment
Open

Pylance taking very long to analyze files #6771

apoorv-s opened this issue Dec 13, 2024 · 1 comment
Assignees
Labels
waiting for user response Requires more information from user

Comments

@apoorv-s
Copy link

Environment data

  • Language Server version: 2024.12.1
  • OS and version: linux x64
  • Python version (and distribution if applicable, e.g. Anaconda): 3.10.15 (h4a871b0_2_cpython conda-forge)
  • python.analysis.indexing: true
  • python.analysis.typeCheckingMode: off

Code Snippet

import numpy as np
from numpy.linalg import solve
from scipy.optimize import root

import pickle

from sklearn.gaussian_process import GaussianProcessRegressor
from sklearn.gaussian_process.kernels import RBF
from sklearn.linear_model import LinearRegression

class AdvectivePumpingModel():
    def __init__(self) -> None:
        self.time_gp = None
        self.traj_x_gp = None
        self.traj_y_gp = None

Repro Steps

  1. Pylance is taking a lot of time to analyze the code, and I am getting notifications to raise the issue, which redirects me here. I am using vscode (Version: 1.93.1) on a remote Linux cluster. The yml file for conda environments is attached as well (It is in the .txt format since uploading a .yml file was not allowed).environment.txt

Expected behavior

Till last month, the pylance has been working great, and I have had no issues. However, after some extension updates, the behavior is very slow and takes a long time to analyze even a few lines of code. The logs presented are for a small code with less than 100 lines of code, but this behavior is consistent across different conda environments (with different Python versions) and different files.

I tried reinstalling the vscode and the extension, but it did not resolve anything. Apologies if I am something trivial.

Actual behavior

XXX

Logs

2024-12-13 14:05:43.001 [info] (Client) Pylance async client (2024.12.1) started with python extension (2024.14.1)
2024-12-13 14:05:43.879 [info] [Info  - 2:05:43 PM] (3281628) Server root directory: file:///home/darve/apoorv1/.vscode-server/extensions/ms-python.vscode-pylance-2024.12.1/dist
2024-12-13 14:05:43.882 [info] [Info  - 2:05:43 PM] (3281628) Pylance language server 2024.12.1 (pyright version 1.1.389, commit ce1325fc) starting
2024-12-13 14:05:43.882 [info] [Info  - 2:05:43 PM] (3281628) Starting service instance "DA4Dunes"
2024-12-13 14:05:43.936 [info] [Info  - 2:05:43 PM] (3281628) Setting environmentName for service "DA4Dunes": "3.10.15 (hypo conda)"
2024-12-13 14:05:43.936 [info] [Info  - 2:05:43 PM] (3281628) Setting pythonPath for service "DA4Dunes": "/home/darve/apoorv1/.conda/envs/hypo/bin/python"
2024-12-13 14:05:43.936 [info] [Info  - 2:05:43 PM] (3281628) No include entries specified; assuming /home/darve/apoorv1/DA4Dunes
2024-12-13 14:05:43.937 [info] [Info  - 2:05:43 PM] (3281628) Auto-excluding **/node_modules
2024-12-13 14:05:43.937 [info] [Info  - 2:05:43 PM] (3281628) Auto-excluding **/__pycache__
2024-12-13 14:05:43.938 [info] [Info  - 2:05:43 PM] (3281628) Auto-excluding **/.*
2024-12-13 14:05:43.983 [info] [Info  - 2:05:43 PM] (3281628) Assuming Python version 3.10.15.final.0
2024-12-13 14:05:44.891 [info] [Info  - 2:05:44 PM] (3281628) Found 4 source files
2024-12-13 14:05:44.907 [info] [Info  - 2:05:44 PM] (3281628) Starting service instance "<default>"
2024-12-13 14:05:44.936 [info] [Info  - 2:05:44 PM] (3281628) Background analysis(1) root directory: file:///home/darve/apoorv1/.vscode-server/extensions/ms-python.vscode-pylance-2024.12.1/dist
2024-12-13 14:05:44.936 [info] [Info  - 2:05:44 PM] (3281628) Background analysis(1) started
2024-12-13 14:05:44.967 [info] [Info  - 2:05:44 PM] (3281628) Setting environmentName for service "<default>": "3.10.15 (hypo conda)"
2024-12-13 14:05:44.967 [info] [Info  - 2:05:44 PM] (3281628) Setting pythonPath for service "<default>": "/home/darve/apoorv1/.conda/envs/hypo/bin/python"
2024-12-13 14:05:44.968 [info] [Info  - 2:05:44 PM] (3281628) No include entries specified; assuming /<default workspace root>
2024-12-13 14:05:44.968 [info] [Info  - 2:05:44 PM] (3281628) Auto-excluding **/node_modules
2024-12-13 14:05:44.968 [info] [Info  - 2:05:44 PM] (3281628) Auto-excluding **/__pycache__
2024-12-13 14:05:44.968 [info] [Info  - 2:05:44 PM] (3281628) Auto-excluding **/.*
2024-12-13 14:05:46.447 [info] [Info  - 2:05:46 PM] (3281628) Assuming Python version 3.10.15.final.0
2024-12-13 14:05:46.455 [info] [Error - 2:05:46 PM] (3281628) File or directory "/<default workspace root>" does not exist.
2024-12-13 14:05:46.456 [info] [Info  - 2:05:46 PM] (3281628) No source files found.
2024-12-13 14:05:46.463 [info] [Info  - 2:05:46 PM] (3281628) Indexer background runner(2) root directory: file:///home/darve/apoorv1/.vscode-server/extensions/ms-python.vscode-pylance-2024.12.1/dist (index)
2024-12-13 14:05:46.463 [info] [Info  - 2:05:46 PM] (3281628) Indexing(2) started
2024-12-13 14:05:46.463 [info] [Info  - 2:05:46 PM] (3281628) Background analysis(3) root directory: file:///home/darve/apoorv1/.vscode-server/extensions/ms-python.vscode-pylance-2024.12.1/dist
2024-12-13 14:05:46.465 [info] [Info  - 2:05:46 PM] (3281628) Background analysis(3) started
2024-12-13 14:05:54.947 [info] [Info  - 2:05:54 PM] (3281628) [IDX(2)] Long operation: scan packages file:///home/darve/apoorv1/DA4Dunes (8825ms)
2024-12-13 14:05:54.947 [info] [Info  - 2:05:54 PM] (3281628) scanned(2) 303 files over 1 exec env
2024-12-13 14:05:56.363 [info] [Info  - 2:05:56 PM] (3281628) indexed(2) 303 files over 1 exec env
2024-12-13 14:05:56.645 [info] [Info  - 2:05:56 PM] (3281628) Indexing finished(2).
2024-12-13 14:06:21.124 [info] [Info  - 2:06:21 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (34906ms)
2024-12-13 14:06:21.124 [info] [Info  - 2:06:21 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (34920ms)
2024-12-13 14:10:46.313 [info] [Info  - 2:10:46 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (23454ms)
2024-12-13 14:10:46.313 [info] [Info  - 2:10:46 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (23484ms)
2024-12-13 14:10:51.609 [info] [Info  - 2:10:51 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (23185ms)
2024-12-13 14:10:51.610 [info] [Info  - 2:10:51 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (23214ms)
2024-12-13 14:11:15.004 [info] [Info  - 2:11:15 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (23334ms)
2024-12-13 14:11:15.004 [info] [Info  - 2:11:15 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (23346ms)
2024-12-13 14:11:33.401 [info] [Info  - 2:11:33 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (18357ms)
2024-12-13 14:11:33.401 [info] [Info  - 2:11:33 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (18359ms)
2024-12-13 14:11:55.773 [info] [Info  - 2:11:55 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (22317ms)
2024-12-13 14:11:55.773 [info] [Info  - 2:11:55 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (22334ms)
2024-12-13 14:12:18.641 [info] [Info  - 2:12:18 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (22825ms)
2024-12-13 14:12:18.641 [info] [Info  - 2:12:18 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (22840ms)
2024-12-13 14:12:43.101 [info] [Info  - 2:12:43 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (24425ms)
2024-12-13 14:12:43.101 [info] [Info  - 2:12:43 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (24438ms)
2024-12-13 14:14:15.694 [info] [Info  - 2:14:15 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (14595ms)
2024-12-13 14:14:15.694 [info] [Info  - 2:14:15 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (14618ms)
2024-12-13 14:14:30.055 [info] [Info  - 2:14:30 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (14334ms)
2024-12-13 14:14:30.055 [info] [Info  - 2:14:30 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (14341ms)
2024-12-13 14:14:42.397 [info] [Info  - 2:14:42 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (12267ms)
2024-12-13 14:14:42.397 [info] [Info  - 2:14:42 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (12302ms)
2024-12-13 14:14:55.184 [info] [Info  - 2:14:55 PM] (3281628) Starting service instance "DA4Dunes"
2024-12-13 14:14:55.298 [info] [Info  - 2:14:55 PM] (3281628) Setting environmentName for service "DA4Dunes": "3.10.15 (hypo conda)"
2024-12-13 14:14:55.303 [info] [Info  - 2:14:55 PM] (3281628) Setting pythonPath for service "DA4Dunes": "/home/darve/apoorv1/.vscode-server/extensions/ms-python.vscode-pylance-2024.12.1/dist"
2024-12-13 14:14:55.303 [info] [Info  - 2:14:55 PM] (3281628) No include entries specified; assuming /home/darve/apoorv1/DA4Dunes
2024-12-13 14:14:55.304 [info] [Info  - 2:14:55 PM] (3281628) Auto-excluding **/node_modules
2024-12-13 14:14:55.304 [info] [Info  - 2:14:55 PM] (3281628) Auto-excluding **/__pycache__
2024-12-13 14:14:55.304 [info] [Info  - 2:14:55 PM] (3281628) Auto-excluding **/.*
2024-12-13 14:14:55.526 [info] [Info  - 2:14:55 PM] (3281628) Found 4 source files
2024-12-13 14:14:55.724 [info] [Info  - 2:14:55 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (13208ms)
2024-12-13 14:14:55.724 [info] [Info  - 2:14:55 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (13215ms)
2024-12-13 14:14:56.041 [info] [Info  - 2:14:56 PM] (3281628) Background analysis(4) root directory: file:///home/darve/apoorv1/.vscode-server/extensions/ms-python.vscode-pylance-2024.12.1/dist
2024-12-13 14:14:56.045 [info] [Info  - 2:14:56 PM] (3281628) Background analysis(4) started
2024-12-13 14:14:56.438 [info] [Info  - 2:14:56 PM] (3281628) Indexer background runner(5) root directory: file:///home/darve/apoorv1/.vscode-server/extensions/ms-python.vscode-pylance-2024.12.1/dist (index)
2024-12-13 14:14:56.438 [info] [Info  - 2:14:56 PM] (3281628) Indexing(5) started
2024-12-13 14:14:56.968 [info] [Info  - 2:14:56 PM] (3281628) scanned(5) 1 files over 1 exec env
2024-12-13 14:14:57.481 [info] [Info  - 2:14:57 PM] (3281628) indexed(5) 1 files over 1 exec env
2024-12-13 14:14:57.502 [info] [Info  - 2:14:57 PM] (3281628) Indexing finished(5).
2024-12-13 14:15:09.190 [info] [Info  - 2:15:09 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (13500ms)
2024-12-13 14:15:09.190 [info] [Info  - 2:15:09 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (13515ms)
2024-12-13 14:17:32.777 [info] [Info  - 2:17:32 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (15940ms)
2024-12-13 14:17:32.777 [info] [Info  - 2:17:32 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (15960ms)
2024-12-13 14:18:24.912 [info] [Info  - 2:18:24 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (15052ms)
2024-12-13 14:18:24.913 [info] [Info  - 2:18:24 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (15060ms)
2024-12-13 14:18:36.796 [info] [Info  - 2:18:36 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (11838ms)
2024-12-13 14:18:36.796 [info] [Info  - 2:18:36 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (11849ms)
2024-12-13 14:18:51.373 [info] [Info  - 2:18:51 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (14560ms)
2024-12-13 14:18:51.373 [info] [Info  - 2:18:51 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (14563ms)
2024-12-13 14:19:19.945 [info] [Info  - 2:19:19 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (12876ms)
2024-12-13 14:19:19.945 [info] [Info  - 2:19:19 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (12881ms)
2024-12-13 14:19:32.659 [info] [Info  - 2:19:32 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (12670ms)
2024-12-13 14:19:32.659 [info] [Info  - 2:19:32 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (12672ms)
2024-12-13 14:19:44.949 [info] [Info  - 2:19:44 PM] (3281628) [BG(1)] Long operation: SemanticTokens delta previousResultId:1734128331378 at file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (12287ms)
2024-12-13 14:19:59.862 [info] [Info  - 2:19:59 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (14872ms)
2024-12-13 14:19:59.862 [info] [Info  - 2:19:59 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (14884ms)
2024-12-13 14:20:13.098 [info] [Info  - 2:20:13 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (13212ms)
2024-12-13 14:20:13.099 [info] [Info  - 2:20:13 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (13225ms)
2024-12-13 14:20:26.214 [info] [Info  - 2:20:26 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (13085ms)
2024-12-13 14:20:26.214 [info] [Info  - 2:20:26 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (13092ms)
2024-12-13 14:20:39.480 [info] [Info  - 2:20:39 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (13215ms)
2024-12-13 14:20:39.480 [info] [Info  - 2:20:39 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (13233ms)
2024-12-13 14:20:52.230 [info] [Info  - 2:20:52 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (12715ms)
2024-12-13 14:20:52.230 [info] [Info  - 2:20:52 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (12734ms)
2024-12-13 14:21:05.118 [info] [Info  - 2:21:05 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (12868ms)
2024-12-13 14:21:05.118 [info] [Info  - 2:21:05 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (12875ms)
2024-12-13 14:21:18.043 [info] [Info  - 2:21:18 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (12899ms)
2024-12-13 14:21:18.043 [info] [Info  - 2:21:18 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (12906ms)
2024-12-13 14:21:34.045 [info] [Info  - 2:21:34 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (15987ms)
2024-12-13 14:21:34.045 [info] [Info  - 2:21:34 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (15991ms)
2024-12-13 14:22:20.898 [info] [Info  - 2:22:20 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (22097ms)
2024-12-13 14:22:20.898 [info] [Info  - 2:22:20 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (22101ms)
2024-12-13 14:22:20.899 [info] [Info  - 2:22:20 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (22926ms)
2024-12-13 14:22:20.899 [info] [Info  - 2:22:20 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (22928ms)
2024-12-13 14:22:41.680 [info] [Info  - 2:22:41 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (22549ms)
2024-12-13 14:22:41.680 [info] [Info  - 2:22:41 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (22559ms)
2024-12-13 14:23:03.632 [info] [Info  - 2:23:03 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (21914ms)
2024-12-13 14:23:03.633 [info] [Info  - 2:23:03 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (21921ms)
2024-12-13 14:23:27.755 [info] [Info  - 2:23:27 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (24092ms)
2024-12-13 14:23:27.755 [info] [Info  - 2:23:27 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (24098ms)
2024-12-13 14:23:51.970 [info] [Info  - 2:23:51 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (24187ms)
2024-12-13 14:23:51.970 [info] [Info  - 2:23:51 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (24190ms)
2024-12-13 14:24:13.104 [info] [Info  - 2:24:13 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (21102ms)
2024-12-13 14:24:13.104 [info] [Info  - 2:24:13 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (21112ms)
2024-12-13 14:24:36.549 [info] [Info  - 2:24:36 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (23426ms)
2024-12-13 14:24:36.550 [info] [Info  - 2:24:36 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (23430ms)
2024-12-13 14:24:55.858 [info] [Info  - 2:24:55 PM] (3281628) [BG(1)] Long operation: checking: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (19254ms)
2024-12-13 14:24:55.859 [info] [Info  - 2:24:55 PM] (3281628) [BG(1)] Long operation: analyzing: file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py (19278ms)

@github-actions github-actions bot added the needs repro Issue has not been reproduced yet label Dec 13, 2024
@StellaHuang95
Copy link
Contributor

Thanks for reaching out. Since you started experiencing slow operations after recent updates, this could be related to the new language server mode setting we introduced recently. The default mode for this setting is default, and you can find the default settings for each mode here.

Based on the logs you provided, it seems analyzing file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py is taking long time. Did you also see the long operation in previous versions? If not, it is possible that some settings were enabled, which triggers more in-depth analysis.

@StellaHuang95 StellaHuang95 added waiting for user response Requires more information from user and removed needs repro Issue has not been reproduced yet labels Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for user response Requires more information from user
Projects
None yet
Development

No branches or pull requests

2 participants