R# 2019.3 regression: Unit Test performance and Output Window
Since installing R# 2019.3, my Unit Test performance is very poor (compared to R# 2019.2.x) when the Unit Test in question generates content for the Output window. The tests are NUnit based, on a set of C# .Net Framework projects.
I've tried changing the "Limit auto-loaded output" R# setting (increasing the value) and I think this may help. I also tried disabling the dotCover extension, but that seemed to make no difference.
For the moment I've removed the
"Trace.Listeners.Add(new ConsoleTraceListener());"
in my test setup. This allows my tests to perform at an acceptable speed ... but with the massive downside that if a test fails, I'll get no immediate feedback.
Is there something I'm missing here? Some change in R# behaviour that I should consider?
Please sign in to leave a comment.
Hello Iain,
Thank you for the feedback.
Do I understand correctly that "Limit auto-loaded output" didn't help actually and the only way to improve performance is removing "Trace.Listeners.Add(new ConsoleTraceListener());"?
Could you please provide a performance snapshot as described in the article? Please specify the steps that lead to the problem in the snapshot details.
Thank you.
Hi Angelina,
I've uploaded the performance snapshots - one with output on unit tests, one without. The issue number is RSRP-477410.
You asked about the "Limit auto-loaded output" and its influence on the performance - I'd say, yes, increasing the value seemed to improve the performance - but not to the point where it was similar to the performance with R# 2019.2.x
Thanks for getting back to me. Please shout If there is anything else I can provide to help with your investigation.