Performance of a heavy-ion time-of-flight spectrometer