go bonkers vs lose one's marbles

go bonkers

verb
  • To lose one's sanity. 

  • To have a good time, free from restraint. 

lose one's marbles

verb
  • Synonym of lose one's mind (“to become crazy”) 

How often have the words go bonkers and lose one's marbles occurred in a corpus of books? (source: Google Ngram Viewer )