I'm new to visual studio. I created a console application in vs2017 to test the performance of a library, the code is very simple, something like
start stopwatch
insert a bunch of elements to a list.
stop stopwatch
print out the time used
The strange thing is that when I run it within visual studio 2017, the time used is drastically smaller when running under "start without debug", i.e control+f5, comparing to "start with debug". I wonder what is causing the difference and which number should I use as a benchmark once I deployed this console app to cloud.
Thanks.