imperil vs try one's luck

imperil

verb
  • To risk or hazard. 

  • To put into peril; to place in danger. 

try one's luck

verb
  • To make a risky attempt. 

How often have the words imperil and try one's luck occurred in a corpus of books? (source: Google Ngram Viewer )