Moving mouse over long lines in Javascript files uses 100% CPU for several seconds, and freezes
See original GitHub issueVersion: 1.50.0-insider Commit: cca20eba8974b1d6b6a9b71bf4e60a29c8f26648 Date: 2020-09-12T00:58:03.476Z Electron: 9.3.0 Chrome: 83.0.4103.122 Node.js: 12.14.1 V8: 8.3.110.13-electron.0 OS: Linux x64 5.4.0-47-generic snap
(reproduces on a friend’s Windows 10 version as well) This started happening on the main version of vscode ~3 days ago.
Sample: Needs to be renamed to .js foo.txt
Steps to Reproduce:
- Open a file with one long line. The file needs to have the JS extension (sample attached, but needs to have its extension changed to .js, as Github doesn’t allow .js to be attached).
- Click one spot in the file, and try to highlight a section.
Does this issue occur when all extensions are disabled?: Yes
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (12 by maintainers)
Top Results From Across the Web
High CPU usage due to the mouse hover e-mail message list ...
in the unified Inbox i am moving mouse up/down quickly through the list of e-mails and i can see that the line the...
Read more >How to avoid freezing the browser when doing long-running ...
Here is a long-running JavaScript process that can be started by clicking a button. Once it runs, it freezes the browser.
Read more >High CPU Usage while typing (<JIT Compiler> goes over 300%)
IntelliJ cpu usage is low when doing nothing in the editor but as soon as I move the cursor around or start type...
Read more >How to Fix High CPU Usage - Intel
The central processing unit (CPU) is a PC's brain. All of the system's major components, like the graphics card and RAM, rely on...
Read more >computer screen frozen but mouse moves - Il Vecchio Cortile
The mouse cursor will randomly stop moving for about 2-5 seconds. ... my temps on the computer for everything except my CPU never...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I see this
Same stack, much faster than the original example but still slow. Is there anything else to be done or is that just as good as the browser can get?
@deepak1556 I’m not sure what level of performance we’re looking for here. On my mac it is super sluggish selecting and clicking the mouse to different sections of the line still freezes the editor