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

Notification

Icon
Error

Why Slow Report
aboy021
#1 Posted : Tuesday, March 26, 2013 10:33:20 PM(UTC)
Rank: Member

Groups: Registered
Joined: 3/24/2013(UTC)
Posts: 19
Location: New Zealand

Thanks: 1 times
Was thanked: 4 time(s) in 4 post(s)
It would be great if I could bring up a report that contained a list of the slowest things in the solution from NCrunch's perspective so that I've always got a hit list to make things faster.

Things that come to mind:
- Project that are slow to build
- Slowest tests
- Slowest test fixtures
shiranpuri
#2 Posted : Wednesday, March 27, 2013 3:18:12 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 3/9/2013(UTC)
Posts: 7

Thanks: 1 times
I also find myself sorting stuff by time spent, looking for what tests took longer than I care for... I don't quite follow what some of the durations represent though, especially if there are tests that timed out for example.

Some sort of metrics on the time spent on given lines would be nice too - seeing hotspots inline is great, but if it already collects that information, it'd be nice to also have a general overview of the slow points in the code.
Remco
#3 Posted : Wednesday, March 27, 2013 9:21:15 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,979

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Hi,

Thanks for the suggestions! A 'hot spot' view is definitely a nice to have. I've been thinking about ways this could perhaps be included in the metrics view.

Something that I think will help with finding slow tests and projects would be to introduce different grouping options in the Tests Window. Although the Tests Window already lets you sort by execution time, the sorting gets disrupted by the groups, making it hard to actually find the slowest tests. If it's possible to flatten the try entirely, the sorting would be much more effective. Let me know what you think.


Cheers,

Remco
aboy021
#4 Posted : Thursday, March 28, 2013 3:30:14 AM(UTC)
Rank: Member

Groups: Registered
Joined: 3/24/2013(UTC)
Posts: 19
Location: New Zealand

Thanks: 1 times
Was thanked: 4 time(s) in 4 post(s)
A flat view with test execution times would be great.

I use TeamCity for our build server and it offers a flat view of test execution times which I find handy, when I take the time to open it up and look. It would be great to have such information close at hand.
1 user thanked aboy021 for this useful post.
Remco on 3/28/2013(UTC)
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.031 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download