A 66-year-old woman is evaluated for a 3-week history of worsening dyspnea on exertion. Medical history is significant for type 2 diabetes mellitus and hypertension. Medications are metformin, lisinopril, and hydrochlorothiazide.

On physical examination, the patient is afebrile, blood pressure is 132/78 mm Hg, pulse rate is 78/min, and respiration rate is 14/min. BMI is 28. The remainder of the examination is unremarkable.

Electrocardiogram is shown.

Which of the following is the most appropriate diagnostic test to perform next?