Daily Usage Issues

Extreme build speed regression in 2.17.0.16

Started by zibalas on 5,497 views

Did anybody else noticed an extreme build speed regression (not test execution) in the latest NCrunch version? I just did some rough testing and I've got following result:


Time needed to build and execute 3 test cases after modifying single line of code in test file (add new line)

NCrunch 2.16.0.13
~3 sec

NCrunch 2.17.0.16
~15 sec. ~13 sec in build phase


My Environment:
Visual Studio 2015
Solution Contains 37 projects, 15 of them are Test Projects (MS Test)
NCrunch Engine Mode: Run impacted tests

Edited

Hi, thanks for sharing this issue.

You are the first person to report this problem, but that doesn't mean it isn't common.

Do you have any other solutions you can test the performance on? It would be very useful if we can identify whether there is something solution-specific that is surfacing the problem, or whether this is more general.

A 3sec to 15sec is a serious regression and is not intentional.
Remco wrote:Hi, thanks for sharing this issue.

You are the first person to report this problem, but that doesn't mean it isn't common.

Do you have any other solutions you can test the performance on? It would be very useful if we can identify whether there is something solution-specific that is surfacing the problem, or whether this is more general.

A 3sec to 15sec is a serious regression and is not intentional.


No, unfortunately I do not have a "test solution" that replicates the problem. I'll try cook something up, can't promise anything though.
I'm wondering if you might be interested in trying this build:

http://downloads.ncrunch.net/NCrunch_Console_2.18.0.2.msi
http://downloads.ncrunch.net/NCrunch_Console_2.18.0.2.zip
http://downloads.ncrunch.net/NCrunch_GridNodeServer_2.18.0.2.msi
http://downloads.ncrunch.net/NCrunch_GridNodeServer_2.18.0.2.zip
http://downloads.ncrunch.net/NCrunch_LicenseServer_2.18.0.2.zip
http://downloads.ncrunch.net/NCrunch_VS2008_2.18.0.2.msi
http://downloads.ncrunch.net/NCrunch_VS2010_2.18.0.2.msi
http://downloads.ncrunch.net/NCrunch_VS2010_2.18.0.2.zip
http://downloads.ncrunch.net/NCrunch_VS2012_2.18.0.2.msi
http://downloads.ncrunch.net/NCrunch_VS2012_2.18.0.2.zip
http://downloads.ncrunch.net/NCrunch_VS2013_2.18.0.2.msi
http://downloads.ncrunch.net/NCrunch_VS2013_2.18.0.2.zip
http://downloads.ncrunch.net/NCrunch_VS2015_2.18.0.2.msi
http://downloads.ncrunch.net/NCrunch_VS2015_2.18.0.2.zip

The 2.17 release contained a change that disabled shared compiler usage during build. Early (pre-release) versions of VS2015 had some stability problems with this feature, and it didn't seem to be needed for NCrunch, so the sensible thing seemed to be to turn it off. Some tests recently done on my side suggest that this seems to have had an impact on build speed. I've re-enabled shared compiler usage for the above build, so I'd be interested in hearing how it goes for you.
Remco wrote:I'm wondering if you might be interested in trying this build:

http://downloads.ncrunch.net/NCrunch_Console_2.18.0.2.msi
http://downloads.ncrunch.net/NCrunch_Console_2.18.0.2.zip
http://downloads.ncrunch.net/NCrunch_GridNodeServer_2.18.0.2.msi
http://downloads.ncrunch.net/NCrunch_GridNodeServer_2.18.0.2.zip
http://downloads.ncrunch.net/NCrunch_LicenseServer_2.18.0.2.zip
http://downloads.ncrunch.net/NCrunch_VS2008_2.18.0.2.msi
http://downloads.ncrunch.net/NCrunch_VS2010_2.18.0.2.msi
http://downloads.ncrunch.net/NCrunch_VS2010_2.18.0.2.zip
http://downloads.ncrunch.net/NCrunch_VS2012_2.18.0.2.msi
http://downloads.ncrunch.net/NCrunch_VS2012_2.18.0.2.zip
http://downloads.ncrunch.net/NCrunch_VS2013_2.18.0.2.msi
http://downloads.ncrunch.net/NCrunch_VS2013_2.18.0.2.zip
http://downloads.ncrunch.net/NCrunch_VS2015_2.18.0.2.msi
http://downloads.ncrunch.net/NCrunch_VS2015_2.18.0.2.zip

The 2.17 release contained a change that disabled shared compiler usage during build. Early (pre-release) versions of VS2015 had some stability problems with this feature, and it didn't seem to be needed for NCrunch, so the sensible thing seemed to be to turn it off. Some tests recently done on my side suggest that this seems to have had an impact on build speed. I've re-enabled shared compiler usage for the above build, so I'd be interested in hearing how it goes for you.


Yep, this helps, 2.18.0.2 works great!
zibalas wrote:
Yep, this helps, 2.18.0.2 works great!


Great, thanks! I'll see what I can do about getting this build to the download page.

Post a reply

Log in to reply.