harshly vs painfully

harshly

adv
  • In a harsh manner; severely. 

painfully

adv
  • Badly; poorly. 

  • In a painful manner; as if in pain. 

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