frantically vs painfully

frantically

adv
  • In a frantic way. 

painfully

adv
  • Badly; poorly. 

  • In a painful manner; as if in pain. 

How often have the words frantically and painfully occurred in a corpus of books? (source: Google Ngram Viewer )