Page 1 of 1

Slowdown with VS 2019

Posted: Mon May 20, 2019 1:13 pm
by evignol
Hello,

I have updated a project by migrating from VS 2017 15.9.12 (tools v141) to VS 2019 16.1.1 (tools v142); almost all function as usual, except when a rigid body collide with a soft body where we have a sudden and huge drop in performances (~75 to ~12 FPS) -- the attached callstack was registered with the 'collision' test scene looping a few times.
-When compiled with VS 2017, only a little drop is observed.
-The exact same code was compiled (only VS and tools are of different versions).

Update: I have narrowed it down to the inlining of functions btSparseSDF::Decompose and btSparseSDF::Lerp; when using __declspec(noinline) to disable their inlining, no performance drop anymore.

Thank you in advance for your help,
Emile