Recording the energy spectrum and time characteristics of laser-plasma electrons