Since about 10/06/23 I’ve been noticing a rather significant performance degradation in bone transform. Before the 06th I was seeing Transform call times on average of ~0.002ms per call, afterwards I’ve been seeing average times closer to 0.01ms. Additionally the performance of bone transforms appears to be very sporadic, seeing times from 0.002ms up to 0.085ms in my recent testing.
BoneTransformTest.rbxl (61.7 KB)
Attached is a quick reproduction of the issue. Workspace contains two nearly identical scripts, one moves bones via Transform
and the other moves bones via CFrame
on my machine, I’m getting around 4ms to simulate 2,000 bones with CFrame and nearly 17ms to simulate 2,000 bones with Transform. Prior to the 6th this simulation was a bit faster with Transform than CFrame, around 3.5ms. So we’re seeing about a 4-5x increase in time to set a Bone Transform.
Bone Transform test
Bone CFrame test
As for when exactly this began, I only noticed it on the evening (CST) of the 6th of November.
My machine specs:
Windows 11
Ryzen 7 3700x CPU
Nvidia RTX 3070 GPU
64GB DDR4 3600MHz RAM
Expected behavior
I would definitely expect Transform to be a bit faster than CFrame and that was the case at one point.