nail-biting vs nerve-racking

nail-biting

adj
  • That causes nervous anticipation or suspense 

nerve-racking

adj
  • Intensely irritating or distressing to the nerves. 

How often have the words nail-biting and nerve-racking occurred in a corpus of books? (source: Google Ngram Viewer )