Performance: CheckSafetyDetach consumes a lot of CPU time for little gain

Viktor Ferenczi shared this bug 3 months ago
Reported – Awaiting fix

Please see the attached dotTrace screenshot.

Class: MyMechanicalConnectionBlockBase

Method: CheckSafetyDetach

Does it need to do this expensive check and this frequently?

Such a detach almost never happens.

This is a low hanging fruit to make especially multiplayer servers faster.

Comments (2)

photo
1

Hello, Viktor,

thanks for letting us know about this problem. It was reported internally.

Kind Regards

Keen Software House: QA Department

photo
1

Hello Victor!

Would be great, if you could attach world file.

Thanks!