Slowdown with VS 2019

Post Reply
evignol
Posts: 1
Joined: Mon May 20, 2019 12:58 pm

Slowdown with VS 2019

Post by evignol » Mon May 20, 2019 1:13 pm

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
Attachments
BulletVS2019.png
vTune profil VS 2019
BulletVS2019.png (182.47 KiB) Viewed 410 times

Post Reply