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

Notification

Icon
Error

Test context menu is slow to show.
damianh
#1 Posted : Sunday, July 30, 2017 5:48:19 PM(UTC)
Rank: Member

Groups: Registered
Joined: 5/5/2014(UTC)
Posts: 23
Location: Netherlands

Thanks: 2 times
Was thanked: 4 time(s) in 4 post(s)
Hi,

something that has been irking me lately and I'm not sure if it's been introduce in a recent update or not... the test context menu (right clicking a test in the NCrunch Tests window, or "Tests covering line" popup in the editor) takes 1 to 2 seconds to show after right clicking. This is long enough that I think it's not being responsive and repeat the right click which sometimes registers a click in the menu as it shows momentarily before hand.

Context menus should be near instantaneous (<250ms) to show.

Cheers
Remco
#2 Posted : Sunday, July 30, 2017 11:06:33 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
Hi, thanks for sharing this issue.

This isn't normal behaviour. Are you noticing anything else behaving slower than normal in the UI? Are you using the Risk/Progress indicator at all? Does closing all open NCrunch windows make any difference?
GreenMoose
#3 Posted : Monday, July 31, 2017 12:33:20 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/17/2012(UTC)
Posts: 507

Thanks: 145 times
Was thanked: 66 time(s) in 64 post(s)
FWIW, I've noticed this lately as well (v3.7.0.4 with vstudio 2015, and also repro'd in vstudio2015 and 3.10.0.20).
Seems to be pretty quick with a fresh vstudio session but quickly becomes slow (in this case I had it running for 1 hour and devenv process consumes ~1GB).
See https://www.screencast.com/t/4DceZsQW
(Closing all other NCrunch windows did not help).
Remco
#4 Posted : Monday, July 31, 2017 11:51:49 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
Thanks. I've put this area of code under a microscope, and it doesn't seem to be performing as well as it should be.

I think this is caused by a performance problem in the context menu control itself. NCrunch builds the context menu dynamically every time its shown (as the contents can vary depending on the test). I don't see a quick and easy way to fix this, so it'll probably require a design change. I'll see what I can do about including this in the next version.
1 user thanked Remco for this useful post.
GreenMoose on 8/1/2017(UTC)
GreenMoose
#5 Posted : Wednesday, August 9, 2017 6:59:50 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/17/2012(UTC)
Posts: 507

Thanks: 145 times
Was thanked: 66 time(s) in 64 post(s)
FWIW: Now it takes about 5s for menu to show with an vstudio2015 instance been riunning for 6 days, and sometimes the "wait" cursor appears and screen blinks and then context menu is not showing at all (behavior seems to appear randomly, not reproducicable in attached screencast) https://www.screencast.com/t/b1b7REcqzgIL.
1 user thanked GreenMoose for this useful post.
Remco on 8/9/2017(UTC)
Grendil
#6 Posted : Wednesday, August 9, 2017 7:03:40 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 3/18/2017(UTC)
Posts: 54
Location: United States of America

Thanks: 22 times
Was thanked: 11 time(s) in 10 post(s)
I too have noticed this issue in recent NCrunch builds. We're running VS 2017, and the context menu takes often maybe 2 full seconds to appear. Glad to hear it might get a touch up.
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