core i 5 2nd generation vs core i 7 1st generation

Solution
Which i5 and which i7? In general, they both have their strong points where one will beat the other, but an i5 2500K vs. even a i7 980X come out pretty equal overall.