be up to snuff vs serve the purpose

be up to snuff

serve the purpose

How often have the words be up to snuff and serve the purpose occurred in a corpus of books? (source: Google Ngram Viewer )