Computer is generally slow, Applications take 10 seconds - 3 minutes to launch, websites take 5-15 seconds to load, etc I don't know why but my computer is generally slow. Some examples are:


Applications take 10 seconds - 3 minutes to launch, depending on which application.
Websites on the internet (all browsers) take 5 - 15 seconds to load, even though I have this internet speed (288 down, 112 up) (flash websites can take several minutes). I also know it's not my internet speed because it's fast on my other computers, my mobile, my dads/moms/friends/brothers/sisters etc.
When I open a new tab in Terminal, I have to wait 5 - 10 seconds to be able to use it (it has to login etc,) which usually take a few milliseconds.
Loading the contents of a directory can take 10 seconds - 5 minutes.


I have repaired my disk (no errors), reset NVRAM, reset SMC, changed harddrive. There are no weird errors in the console, and the problems do not exist on other profiles.

Some information:

No processes running at over 10% CPU, 6 GB RAM is Free, 300 GB hard drive memory is free. Macbook Pro 10,1 (Retina, 15-inch, Early 2013) 16 GB RAM, 2.8 GHz CPU, nVidia GeForce GT 650M/Intel HD Pro 4000. No anti-virus program, I find these useless, at least for a mac.
It was curl together with mds and mdworker that caused this. I have tried it restart the computer 10 times, 5 times with the script on and it lagged like this all the time, but when I didn't run curl it was as fast as ever. I have researched but I can't at all figure out why curl would do this.