cook up vs go to extremes

cook up

verb
  • To manufacture a significant amount of illegal drugs (LSD, meth, etc.) 

  • To prepare a heroin dose by heating. 

  • To prepare (food or chemical substances) by cooking or heating. 

  • To manufacture; to invent (something, often a deceit or falsehood). 

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

go to extremes

How often have the words cook up and go to extremes occurred in a corpus of books? (source: Google Ngram Viewer )