Bicycle speedometer

Sounds like your (unspecified) sensor is not responding fast enough. Perhaps choosing a faster sensor will help.

Or it could be your (unspecified) sketch. Do you have anything in your loop() that might be slowing down the response?