Hi, I'm a performance engineer at Microsoft and in this blog I'll share tips about how to troubleshoot and fix performance issues in your applications. In my spare time I do indie game programming so expect some of the samples in that area from time to time.
As Donal Knuth would say: "We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%"
The key is to find out where to focus on so that you are not optimizing code that will not impact the overall performance of your program. Microsoft ships a few tools that will make it a lot easier to figure it out: Resource Monitor, Visual Studio Performance Tools, Xperf.
I'll go through these tools in the next blog posts.