I was tired of waiting for the end of Arduino IDE 1.8.9 compilation, so I tested this:
Microsoft antivirus enabled, compile time: 1β48 β.
Microsoft antivirus disabled, compile time: 0β98β.
So I added 2 exclusions in the antivirus properties: java.exe and javaw.exe .
try this and tell me what you think.
Alexis