How often is world.step called normally? What is the relationship between real time and simulation time?

To add onto @mark.haoxiang’s response

You can do something like this to determine the difference between the realtime clock and simulation time, and wait accordingly.