Yes, caliber and grains matter too (in addition to barrel).
A rim fire .22 is so different from a .223, that it's comparing them is almost useless (but not quite). Just look at the cartridge and it becomes very clear...
http://www.thefirearmblog.com/blog/2011/05/03/guest-post-22-...