A panegyric is a formal public speech or written verse, delivered in high praise of a person or thing. The original panegyrics were speeches delivered at public events in ancient Athens.
Title page of the Panegyric of Leonardo Loredan (1503), created in honour of Leonardo Loredan, 75th Doge of Venice, now in the Walters Art Museum in Baltimore
A eulogy is a speech or writing in praise of a person, especially one who recently died or retired, or as a term of endearment.
George W. Bush delivers the eulogy at Ronald Reagan's state funeral, June 2004