Weak cylinder

All the mechanic did was a dianostic test with instrument reader…I don’t think he did a compression test on the # 4 cylinder…that’s the cylinder that keeps coming up on the reading…my engine light has been off for the past couple weeks but it came on yesterday after about 50 miles of straight driving at 55-65 mph…at normal temp. I’m going to take the car to Advance Auto to have the computer read and get the code numbers. thanks for the info