very slow compile all of a sudden

Since all of a sudden last week, compile and starting up the simulator takes forever. A compile that used to take seconds now takes 4 min! 

I have tried different SDK version, upgraded to latest OpenJDK, makes no difference.

Anyone with a good idea for what might have changed for me?
  • if nothing has changed software wise in your setting maybe it's a hardware issue? have you changed any components recently?

    compiling is a very cpu heavy task. what's the cpu usage when compiling?

  • I've seen this if the system is running other things that are cpu intensive,  Things like VSC, chrome and maybe something else are doing something.  I'll restart VSC, chrome, etc, and the problem goes away.  There's in fact one site I won't visit while I compile.

    Win11