Sublime Forum

The compile time for C++ code when connected to internet drastically increases

#1

Hi, I am having some issues with my Sublime Text 3. Whenever my computer is connected with the internet the compile time for even the “Hello World” program becomes 21s. When I disconnect it to the wifi the compile time goes back to ~980ms. How do I fix this issue ? I have tested this for different wifi connections as well and the issue was same. Can anyone explain the issue ?

Thank you.

0 Likes

#2

This likely has nothing to do with Sublime Text. Do you see the same behavior if you’re compiling using the command line?

0 Likes

#3

Yes, the same is occuring on the command line as well. Is there a way to fix this behavior?

0 Likes

#4

Your antivirus is a likely culprit, otherwise I don’t know.

0 Likes

#5

Yeah, I uninstalled the antivirus and the issue got resolved. Don’t know why it just popped up now as I had the antivirus for over a year. Thank you for your help.

0 Likes