Time-resolved plasma diagnostic through laser diode spectroscopy