painstaking vs slogging

painstaking

noun
  • The application of careful and attentive effort. 

adj
  • Carefully attentive to details; diligent in performing a process or procedure. 

slogging

noun
  • An act or an instance of slogging or working laboriously. 

  • A beating or thrashing. 

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