measure against vs pit someone or something against

measure against

pit someone or something against

How often have the words measure against and pit someone or something against occurred in a corpus of books? (source: Google Ngram Viewer )