go up in flames vs set afire

go up in flames

verb
  • To catch fire. 

  • To be cancelled or ruined without any hope of return. 

set afire

verb
  • Synonym of set on fire 

How often have the words go up in flames and set afire occurred in a corpus of books? (source: Google Ngram Viewer )