just in time vs not a moment too soon

just in time

adv
  • At the last possible moment; just before or within the assigned time. 

not a moment too soon

adv
  • Synonym of not a minute too soon 

How often have the words just in time and not a moment too soon occurred in a corpus of books? (source: Google Ngram Viewer )