I have a C# console program, developed in Visual Studio Premium 2013. When I start the program in Visual Studio - either with or without debugging - it runs significantly faster than if I run the compiled EXE. I have tried both the "Debug" and "Release" compiled EXE's.
The difference is huge - 5 seconds when running in VS against 50+ seconds running as an EXE. That is the time for 1 "job", eventually, this application needs to process around 2000+ jobs!
In both cases, I am running from the same computer and using the same config file.
How can there be such a massive difference and why would running within VS be faster?! I must be missing something significant!?
ASKER
It seems like the connections to the other servers are taking the most time, when running the exe - but is hardly noticeable when running in Visual Studio.