comprise vs perform the function of

comprise

verb
  • To contain or embrace. 

  • To compose; to constitute. 

  • To include, contain, or be made up of, defining the minimum elements, whether essential or inessential to define an invention. 

  • To be made up of; to consist of (especially a comprehensive list of parts). 

perform the function of

How often have the words comprise and perform the function of occurred in a corpus of books? (source: Google Ngram Viewer )