2560 slow compiling

If you are using windows did you already tried to stop the anti virus protection?
When I use Windows I need to shutdown the Kaspersky because it cause a very slow compile.It's because it have a true Prevent feature that monitor all activity.
Of course it could be another problem ...