by a long shot vs by far

by a long shot

prep
  • By a wide margin; indicates a very big difference or disparity. 

by far

prep
  • To a considerably large extent, easily. 

How often have the words by a long shot and by far occurred in a corpus of books? (source: Google Ngram Viewer )