-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
autoTestDiscoverOnSaveEnabled
setting causing significant decreases in VS Code performance
#21446
Comments
This might be due to file system watching, can you enable these logs to see if it is being triggered to often. Would it be possible for you to provide a minimal repro or a repository that we can use to repro this. Logging (local)
Logging (remote)
|
I set the
setting to false and the slowdown disappeared completely. I will enable it and attach the file watcher output once I'm able to replicate the error.
I'm working on the PennyLane repository. There are a lot of tests, which could be why this setting being enabled impacts performance so much. |
Here's a snippet of the file watcher when I was noticing the performance degradation. The two major things I noticed were:
|
I think there might be two different problems here:
/cc @eleanorjboyd Could you take a look at the pattern we use for file system watching in testing to see if we get |
autoTestDiscoverOnSaveEnabled
setting causing significant decreases in VS Code performance
closing since the fix will be the same as #21014. Thanks! |
Type: Bug
I ran extension bisect to figure out which extension was causing trouble with the performance of VS Code on my machine. Extension Bisect led to detecting vscode-python (and associated extensions pylint, isort, pylance) to be the problem causers. The troubles I commonly encounter include:
The only way I can fix performance is by reloading the window, which I have to do over 10 times a day because the slowdowns are very consistent. This is a big headache for me as I code almost exclusively in Python.
Extension version: 2023.10.1
VS Code version: Code 1.79.0 (Universal) (b380da4ef1ee00e224a15c1d4d9793e27c2b6302, 2023-06-07T14:29:00.206Z)
OS version: Darwin arm64 22.5.0
Modes:
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: