promise vs undertaking

promise

noun
  • an oath or affirmation; a vow 

  • A transaction between two persons whereby the first person undertakes in the future to render some service or gift to the second person or devotes something valuable now and here to his use. 

  • A placeholder object representing the eventual result of an asynchronous operation. 

  • Reason to expect improvement or success; potential. 

verb
  • To commit to (some action or outcome), or to assure (a person) of such commitment; to make an oath or vow. 

  • To give grounds for expectation, especially of something good. 

undertaking

noun
  • A promise or pledge; a guarantee. 

  • That which is undertaken; any business, work, or project which a person engages in, or attempts to perform; an enterprise. 

  • The business of an undertaker, or the management of funerals. 

  • The act of one who undertakes (in either sense). 

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