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

Notification

Icon
Error

NCrunch possibly causes autocomplete delay in VS2026
davetorutek
#1 Posted : Friday, March 20, 2026 12:25:38 AM(UTC)
Rank: Member

Groups: Registered
Joined: 5/31/2018(UTC)
Posts: 16
Location: New Zealand

Thanks: 5 times
Was thanked: 6 time(s) in 4 post(s)
In large projects in VS2026 the built in autocomplete (and the ctrl-. refactor menu) have delays of multiple seconds.
I disabled ncrunch and restarted VS and I couldn't get it to occur, I then enabled ncrunch (without restarting and after restarting) and it immediately came back.

There is a VS thread here about general autocomplete delay in VS2026, in 18.4 GA the situation improved for most people, but not me.
I tried disabling ncrunch to test it and that seemed to resolve it.

I can only spend so much time using VS without ncrunch, but I used it long enough I feel like ncrunch is partially responsible at least. (The issue recurs quickly with ncrunch installed)

My settings:
12 cores VS, 20 cores ncrunch.
20 background threads + fastlane.
Optimise for fastest test execution.
Parallel: yes
RDI: Disabled
Execution mode: only impacted tests

Issue does not occur with VS2022.

Let me know what I can do to help debug this, I could privately share the codebase if really necessary.

Thanks!
Remco
#2 Posted : Friday, March 20, 2026 4:22:34 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 1021 times
Was thanked: 1371 time(s) in 1272 post(s)
Thanks for sharing this issue.

NCrunch doesn't have any integration with this area of VS, so if you're experiencing a correlation between NCrunch being enabled and this seeming to take longer, the problem is almost certain to be resource related rather than a software performance issue.

The first thing I would check is whether you experience the same behaviour when VS is set to use ALL cores on the system. One of the problems with the continued development of VS on newer hardware is that MS size the IDE to make full use of available machine resources, which tends to cause problems for background processing tools like NCrunch that need to compete for resources. It's possible you may need to re-evaluate your balance of resources between VS and NCrunch for your current setup, or consider offloading to a grid node.
1 user thanked Remco for this useful post.
davetorutek on 3/22/2026(UTC)
davetorutek
#3 Posted : Sunday, March 22, 2026 9:38:40 PM(UTC)
Rank: Member

Groups: Registered
Joined: 5/31/2018(UTC)
Posts: 16
Location: New Zealand

Thanks: 5 times
Was thanked: 6 time(s) in 4 post(s)
Thanks, other users are experiencing it without NCrunch.
For me I could only reproduce when ncrunch was enabled (reproducing is very random, so this was probably just a coincidence).
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.024 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download