Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Support for Visual Studio's Profiler
Rodney
#1 Posted : Wednesday, March 6, 2013 9:02:17 PM(UTC)
Rank: Member

Groups: Registered
Joined: 12/7/2012(UTC)
Posts: 17
Location: United States of America

Thanks: 1 times
Was thanked: 2 time(s) in 2 post(s)
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
#2 Posted : Thursday, March 7, 2013 7:32:06 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,135

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
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
Rodney
#3 Posted : Thursday, March 7, 2013 11:51:59 PM(UTC)
Rank: Member

Groups: Registered
Joined: 12/7/2012(UTC)
Posts: 17
Location: United States of America

Thanks: 1 times
Was thanked: 2 time(s) in 2 post(s)
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.co...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.co...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.
1 user thanked Rodney for this useful post.
Remco on 3/8/2013(UTC)
Rodney
#4 Posted : Monday, April 15, 2013 8:15:50 PM(UTC)
Rank: Member

Groups: Registered
Joined: 12/7/2012(UTC)
Posts: 17
Location: United States of America

Thanks: 1 times
Was thanked: 2 time(s) in 2 post(s)
bump
Remco
#5 Posted : Monday, April 15, 2013 11:12:56 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,135

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
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
yanglee
#6 Posted : Wednesday, April 17, 2013 8:52:31 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/25/2012(UTC)
Posts: 89
Location: China

Thanks: 23 times
Was thanked: 19 time(s) in 18 post(s)
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).
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.041 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download