-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
Scrolling causes significant performance drops #123344
Comments
@ok-nick How are you measuring frame rate? Some of the developer tools, depending on the settings used will reduce the frame rate of the page just by recording the events / stack traces / screenshots / etc. I personally use this tool to measure frame rate, as it does not impact the frame rate: |
Unfortunately it didn't seem to change anything. |
Thank you for trying. Some of the extensions you have installed (e.g. |
Yes, the issue still happens when all extensions are disabled. |
Thanks for trying. Could you please create a JS CPU profile for the renderer when you are scrolling using these steps? |
Thank you for the profile. I could not spot anything wrong, it looks like the JS that renders a frame is actually pretty fast on your machine, taking almost always <5ms to render a frame, which should give a great frame rate. IMHO the problem might be somewhere else, not on the renderer process. @ok-nick To eliminate the problem that this is a GPU / driver issue, could you please also try to close all vscode windows and launch Otherwise, this could be a problem with the main process which maybe does not send the user input events to the renderer process fast enough. |
The |
@deepak1556 Any thoughts on how to proceed? |
Does this issue repro with latest stable |
It seems to be fixed! 👍 @deepak1556 Do you know which PR fixed the issue? |
Not sure, we have had a couple of runtime version updates since the bug reported, very likely fixed through them. |
The issue still persists. I must've opened it with the |
@ok-nick can you check if the issue is present with our exploration build that comes with a newer runtime. Thanks! |
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines. Happy Coding! |
Issue Type: Performance Issue
Earlier today I've been having a huge performance drop when scrolling in the editor tab, extension tab, anywhere that scrolls. Whether smooth scroll is toggled or all extensions are disabled, VSCode drops all the way to ~20fps. I've tried reinstalling and restarting to no avail.
I'd be glad to provide profiling logs if needed although I've noticed something specifically pop up in red a bunch of times which may seem alarming?
VS Code version: Code 1.56.0 (cfa2e21, 2021-05-04T22:09:06.405Z)
OS version: Windows_NT x64 10.0.19042
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Process Info
Workspace Info
Extensions (25)
(1 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: