i5 and i7 have the same single core performance, and both have 4 cores, but i7 has hyper threading which makes it work like 8 cores, but games do not require 8 cores, they require max 2-3, so an i7 offers no advantage over i5 in gaming, but no disadvantage either except i7s tend to run a little hotter than i5s