An EKG, or electrocardiogram, is a completely painless, non-invasive test that evaluates the health of your heart. It measures heart rate and electrical activity and only takes about three minutes.