Last year Microsoft released VS 15 and add a interesting new feature called “ Diagnostic Tools debugger window

Asy you read on internet when someone trying to show the execution time of 2 different2- function it will use stopwatch and some other kind of thing to prove which one is better. From VS 2015 you have a better option to check the execution time of code. You can exactly figure out how much time it will take.11







Just open the diagnostic window and put a breakpoint in code. and another one when execution complete. You can see how much time your code take to execute in diagnostic window as given example.

For more information look at this article written by Visual studio team