Class D lasers vs. class B lasers: Dynamical spectra analysis