As a compression geek there’s very little useful technical information to make any judgement at all.
Profile, Entropy, keyframe rate, number of passes, VBR or CBR, GOP structure are all factors.
Generally (with some exceptions) Apple’s Compressor now does best with High Profile, CABAC, One Pass (two pass not an option with these settings). That seems to come reasonably close to x264 quality.
For the longest time MainConcept, used by Adobe, has been far superior to Apple’s H.264 at comparable settings but Apple has been working on things and Compressor 4.1.x H.264 is not bad.