Is “sitting there panting like a lap dog” a simile or metaphor?

I also want to know if “the jungle drums begin beating” personification.