Text this: Characterization of transient response in fiber grating Fabry–Perot lasers