cooking with gas vs up to code

cooking with gas

phrase
  • Functioning particularly effectively; achieving something substantial. 

  • With the updated software, I was really cooking with gas. I got the project done in half the time. 

  • Used other than figuratively or idiomatically: see cook, with, gas. 

up to code

How often have the words cooking with gas and up to code occurred in a corpus of books? (source: Google Ngram Viewer )