Rendering animation delay in the scene

I’m rendering walking animations for 3D avatars but due to the performance issues the exact position of the model in the scene that given by the code and rendering position in the scene when playing is different.

Is there a way to get the rendering position when playing the scene so that I can compare the difference and optimize.