compare with

compare (someone or something) with (someone or something)

To highlight the similarities between two people or things. Well, if Shakespeare can compare someone with a summer's day, then so can I! Unfortunately, I can only compare her performance with a train wreck.
See also: compare
Farlex Dictionary of Idioms. © 2015 Farlex, Inc, all rights reserved.

compare someone or something with someone or something

to consider the sameness or difference of sets of things or people. (This phrase is very close in meaning to compare someone or something to someone or something, but for some connotes stronger contrast.) Let's compare the virtues of savings accounts with investing in bonds. When I compare Roger with Tom, I find very few similarities. Please compare Tom with Bill on their unemployment records.
See also: compare
McGraw-Hill Dictionary of American Idioms and Phrasal Verbs. © 2002 by The McGraw-Hill Companies, Inc.
See also:
References in classic literature ?
How does the lyric quality of 'Alexander's Feast' compare with that of the best lyrics of more Romantic periods?
The translation of 'The Iliad': Compare with corresponding passages in the original or in the translation of Lang, Leaf, and Myers
How does it compare with Pope's poems in artistry and power?
Compare with Carlyle in temperament, ideas, and usefulness.
And never a flake That the vapour can make With the moon-tints of purple and pearl, Can vie with the modest Eulalie's most unregarded curl - Can compare with the bright-eyed Eulalie's most humble and careless curl.
People talk of the transparent waters of the Mexican Bay of Acapulco, but in my own experience I know they cannot compare with those I am speaking of.