Running Unit-Test is very slow

Hi,

what is it I am doing wrong that my unit-test take so long to be executed?

I have 5 Testprojects, with in total 146 Tests.
If I execute them with the ReSharper test runner it takes about 47 seconds to execute them all.
The Test runner reports a total runtime of 2.7 seconds, but I have to wait the 47 seconds till they are finished.
It looks like the most time is consumed between the different test projects.
If I start them separately, each of them takes about 10 seconds to start (that would explain the 47 Seconds for 5 projects)

If I run all my test with MS-Test (Test-Explorer) it only takes 14 seconds the first time.
Repeating only takes 5 seconds.

I am using VS2012 Update 2 and
JetBrains ReSharper 7.1.3 C# Edition
Build 7.1.3000.2254 on 2013-04-10T15:48:18

Regards
Rainer

3 comments
Comment actions Permalink

Hello,

Could you please help us to determine the cause of the issue by profiling Visual Studio for us?

In the ReSharper 7 you may do that straight away with 'ReSharper | Help | Profile Visual Studio'. This action will start the profiling of the VS immediately - after you finish doing the repro actions, please press the 'Get Snapshot' button in the dialog.

After profiling is complete, you 'll be able to upload the snapshot to our FTP server, so we could investigate it to provide a solution and/or bugfix for the performance issues.


Thank you for doing some profiling for us!

0
Comment actions Permalink

I seem to have the same issue.  Has a resolution been found?  
I'll send a performance snapshot.

0
Comment actions Permalink

Hi Adam,

Thanks for the snapshot.
This issue should be fixed in the ReSharper 8 EAP build #10: http://youtrack.jetbrains.com/issue/RSRP-371015.

It will be available for download here soon: http://confluence.jetbrains.com/display/ReSharper/ReSharper+8+EAP

Please let me know if it helps.
Thanks.

0

Please sign in to leave a comment.