digitalmars.D.learn - serve-d and spindump
On my macOS 10.14.6 computer, I close serve-d thread when it's using too much CPU, I also knock off spindump for the same reason. I get artifacts and junk that flash on my screen - I don't know if that's connected to removing those or not. Does anyone else have these problems? I always have Visual Code running for D programming. I found an old solitary post[0] about it, or so. [0] Bug with profiling GC with multiple threads/fibers
Sep 13 2019
On Friday, 13 September 2019 at 23:47:00 UTC, Joel wrote:On my macOS 10.14.6 computer, I close serve-d thread when it's using too much CPU, I also knock off spindump for the same reason. I get artifacts and junk that flash on my screen - I don't know if that's connected to removing those or not. Does anyone else have these problems? I always have Visual Code running for D programming. I found an old solitary post[0] about it, or so. [0] Bug with profiling GC with multiple threads/fibersI had a similar issue with crazy CPU consumption when I used VS Code. The root cause for me was "autosave" and "build on save" settings turned on simultaneously. Basically, it was trying to build the entire project every time save happened, and it was frequent enough to overwhelm the CPU. The fix was in: File=>Preferences=>Settings, Then extensions=>D:Enable Dub Linting, have to be disabled (unchecked). Hopefully, this helps.
Sep 14 2019
On Saturday, 14 September 2019 at 10:14:19 UTC, psyscout wrote:On Friday, 13 September 2019 at 23:47:00 UTC, Joel wrote:Thanks psyscout - I'm now trying that. On my machine, I used [command]+[,] to get to settings.[...]I had a similar issue with crazy CPU consumption when I used VS Code. The root cause for me was "autosave" and "build on save" settings turned on simultaneously. Basically, it was trying to build the entire project every time save happened, and it was frequent enough to overwhelm the CPU. The fix was in: File=>Preferences=>Settings, Then extensions=>D:Enable Dub Linting, have to be disabled (unchecked). Hopefully, this helps.
Sep 14 2019