Every cycling head unit on the market will give you data fields like speed, distance, and time. Even many of the best budget cycling computers will support an ANT+ or Bluetooth connection to a heart rate monitor plus speed and cadence sensors.
Almost all cycling computers work with both, and some devices also connect to your home WiFi network, seamlessly uploading your ride to Strava before you’ve taken your helmet and sunglasses off and supporting quicker upgrades and map and route uploads.