compliment vs give a hard time

compliment

verb
  • To pay a compliment (to someone); to express a favourable opinion (of someone). 

noun
  • An expression of praise, congratulation, or respect. 

  • Complimentary language; courtesy, flattery. 

give a hard time

How often have the words compliment and give a hard time occurred in a corpus of books? (source: Google Ngram Viewer )