Dynamic response of graphene to thermal impulse