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.
Remco NCrunch Developer
#3810
07 Mar 2013 07:32 UTC
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
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.
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.
bump
Remco NCrunch Developer
#4009
15 Apr 2013 23:12 UTC
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
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).
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.