from beginning to end vs through the whole of

from beginning to end

through the whole of

How often have the words from beginning to end and through the whole of occurred in a corpus of books? (source: Google Ngram Viewer )