unproductively vs vainly

unproductively

adv
  • In an unproductive manner. 

vainly

adv
  • In a vain pursuit; to no avail. 

  • With a vain attitude; in a self-approving manner. 

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