Best way to optimize Inverse Kinematics?

Godot Version

4.2.2

Question

Hello, I want to have 20 entities all running inverse kinematics for two legs.
I know this is pretty taxing so I want to only run the IK every third frame for example.

Is the best way to do this calling enable_ik(true) to signal it only does one calculation. Or is there a better way to do it. Thanks!