The attachments are two VS2015 solutions, they have same algorithm, same code, same test code, and same compiler settings, but one mixes algorithm and test code to a single project, compiles to a single exe file. The other seperates the algorithm to a independent project, and compile to a DLL/LIB file, the test code reference the algorithm DLL/LIB.
The strange problem is that performance of the single exe is very faster than the other, single exe is about 16ms on my computer, but the other is about 90ms.
Anybody can help me?Thanks!
I use vs2015 update2, parallel studio xe 2016 update2, intel i5 4590