CPU spike on macOS after installing .net 5.0!
CPU is spiking after installing .net 5.0
.net 5.0 on macOs Catalina 10.15.17
After installing .Net 5.0 on macOS Catalina 10.15.17, my CPU% is spiking already just when I started running VS Code. I checked Activity Monitor and I have found that "dotnet" process is already 100% that is without running a .net app yet. So what I did is I forced quit the "dotnet" process on Activity Monitor; the CPU% started to go down(with VS Code still open). I tried running an blazor app(dotnet run) without browsing the app then the CPU% spiked to 100% again; I forced quit my blazor app CPU goes down. This issue was not happening on previous versions of .net on my mac.


@filipw can you help us determine if this is a .NET 5 or Omnisharp related issue?
It honestly doesn't look like it to me because OmniSharp is not a dotnet process but a mono process.
It does temporarily spin up dotnet occasionally to e.g. determine dotnet version or run tests but these processes are then immediately killed.
Based on the description it sounds like it's either some other extension or something in the runtime. Especially this statement doesn't indicate anything editor specific: I tried running an blazor app(dotnet run) without browsing the app then the CPU% spiked to 100% again;
@filipw My editor is VS Code and it is not a mono process that causes this because if it is a mono it will be shown in the Activity Monitor.
@filipw I also stated my editor.

Hey @Pilchie do you know who the best contact for Blazor is?
I'd ping @danroth27 for Blazor issues
Adding @mkArtakMSFT to take a look from the engineering side for Blazor.
@kulashaker30 any chance you can get what the commandline of the dotnet process is?
Also tagging @sebastienros for advice on getting a trace so we can see where time is being spent.