dissertation vs treatise

dissertation

noun
  • A lengthy lecture on a subject; a treatise; a discourse; a sermon. 

  • A formal exposition of a subject, especially a research paper that students write in order to complete the requirements for a doctoral degree in the US and a non-doctoral degree in the UK; a thesis. 

treatise

noun
  • A formal, usually lengthy, systematic discourse on some subject. 

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