On the efficiency of spectral deferred correction methods for time-dependent partial differential equations