News & Events

Visual Studio 12 Performance Analysis

Since the Visual Studio 2012 RTM came out I have been experimenting with the different features. Now this may of existed in previous versions(although not as pretty), but this is quite a nice little tool for understanding where your code is being locked up. Sadly though in this case I wasn’t actually able to get any advantage without a big re-write.

image

So what do you get, some charts some nice percentage bars, and also the ability to dig down into your function and find where it really is going slow.

image

This is an example of a tree being searched through so there is little to be gained (or at least on first glance) to improve the performance. But is nice to know that abusing vectors is killing my code… maybe a note for next time I write something like this.

Stuart James