to compare sb / sth with sb / sth
measure sb / sth against sb / sth
to compare sb / sth with sb / sth
The figures are not very good when measured against those of our competitors.
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition