Feature Suggestions

Support for Visual Studio's Profiler

Started by Rodney on 11,139 views

With the built in MS Test Test Runner you can right click on a test in the test view list and select "Create Performance Session" that will run the test with the Profiler. This is very nice, but when we switch to NUnit we lost this and it would be nice if NCrunch could provide this same option in its test runner and in the markers context menu. Right now we have to create console apps to do reproduce a test actions so we can run it in a performance session.
Hi Rodney,

Thanks for the suggestion! As NCrunch doesn't have any level of integration with the performance analysis features of Visual Studio, this would be quite a challenging feature to implement in the way that you currently use it.

I'm wondering if you could share some more details about which features of the VS performance sessions you find useful? Perhaps I can look into other ways of solving this.


Cheers,

Remco
I want the same feature I get when I use MS Test based Unite Tests and the built in VS test runner. It has a "Create Performance Session" option for individual tests or groups of tests.

There is a Visual Studio Profiler API. http://msdn.microsoft.com/en-us/library/cc667389.aspx

If you haven't used the profiler included in 2010 and 2012 you can find out more here:

http://msdn.microsoft.com/en-us/library/z9z62c29.aspx

I am not asking you to create your own profiler, I am just asking you to start your process within a profilier session that is build into VS 2010 and 2012.
Hi Rodney,

Sorry, after looking into this, it looks like a huge amount of work that would be hard to justify relative to the value of the feature. I don't see NCrunch going down this path.


Cheers,

Remco
Rodney,

FYI, dotTrace can profile both NUnit and MSTest tests. The major reason I purchased it is for profiling unit tests. It integrates with Resharper, takes only 3 clicks to run and profile a test.

Personal license is 299 USD (they offer a discount price at 189 USD between April 15th and 22nd).

Post a reply

Log in to reply.