-
Notifications
You must be signed in to change notification settings - Fork 28.8k
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
electron_node tsserver.js - running at 100% #72631
Comments
Do you have |
I do not have |
Sorry, should be Also, can you please try collecting the TS Server log to help us investigate:
If you can share that log, I can take a look to see if anything stands out
|
I do not have I've attached a TS Server log following your steps - let me know if there's anything else I can help to resolve. |
Thanks. I don't see anything in the logs that indicates a long running request or expensive ongoing operation. Was the high cpu usage happening when you collected the log? How long does the spike last? One idea: can you try creating a |
It was happening - if I do any typing in the code editor with a Gatsby project open it goes nuts, especially copy and pasting sections of code around - but the second I stop typing the CPU drops back down. I created a jsconfig.json at the root of the project this morning and it did not help. |
FWIW, I also encounter this issue with a similar setup |
@LeeCampbellr Can you also please test this again using the latest VS Code insiders build (which includes TypeScript 3.5) I believe you could have been hitting microsoft/TypeScript#30819 which should now be fixed |
Closing this as a likely duplicate of microsoft/TypeScript#30819 based on the repo |
I'm consistently getting a 25%-40% CPU usage from I don't have At the time I took the screenshot I had the ESLint extension enabled. I tried without it and it doesn't seem to have an impact. |
Issue Type: Bug
Running a gatsby project with the base styled-components installed - tried the clearing of the typescript version cache. tsserve processr is running at 100% anytime I edit any file with styled-components. I'm running the insiders edition with no extension active.
VS Code version: Code - Insiders 1.34.0-insider (f89390f, 2019-04-18T13:31:41.962Z)
OS version: Darwin x64 18.5.0
System Info
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: enabled
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Extensions (1)
(1 theme extensions excluded)
The text was updated successfully, but these errors were encountered: