ideally vs imperfectly

ideally

adv
  • In an ideal way; perfectly. 

  • Given ideal circumstances; preferably. 

imperfectly

adv
  • In an imperfect manner or degree; not fully or completely. 

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