gain mastery over vs wipe the floor with

gain mastery over

wipe the floor with

How often have the words gain mastery over and wipe the floor with occurred in a corpus of books? (source: Google Ngram Viewer )