Transient response of an optically pumped short-cavity semiconductor laser