Problem of using Bluetooth module and Ultrasonic sensors

I have only a brief knowledge about the IDE function "pulseln" so I am guessing telling that there might be a chance of time being spent. How often is that signal being measured coming, what frequency? The code looks like free from whiles and looping around delays. Unless You some kind of chain logic that sums up time I don't see anything pointing out.