as and when vs by the time

as and when

conj
  • as soon as 

by the time

conj
  • When (some future event has come to pass). 

How often have the words as and when and by the time occurred in a corpus of books? (source: Google Ngram Viewer )