gloat vs show off

gloat

verb
  • To exhibit a conspicuous (sometimes malevolent) pleasure or sense of self-satisfaction, often at an adversary's misfortune. 

  • To triumph, crow, relish, glory, revel. 

noun
  • An act or instance of gloating. 

show off

verb
  • To attract attention to for the purpose of bragging or personal exhibitionism; to demonstrate a skill, talent or property for the purpose of bragging or personal exhibitionism. 

  • To exhibit the best attributes of something. 

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