A little known feature of VSTS Team Developer is the ability to use the run-time analysis of the Profiler specifically targetting the code in a Unit Test. There are a two key scenarios this integration feature targets:
How do you do this? See this short <2 min video clip of Profiling a Unit Test to see it in action.
Today profiling is limited to just unit tests (that do not target web services). One of the features we're currently working on is the ability to profile web tests or load tests.
More ResourcesIan Huff, a dev on the profiler, has a great blog about profiling and specifically a post on the different ways to create a performance session.