i5 is almost 7000 on Passmark, i7 is almost 10,000. Decent performance from the CPUs. Add a good video card and you will have a decent gaming machine.
If wanting to upgrade the GPU Keep in mind that this system has a small PSU at only 240 watts. Also, it has a “small form factor” case so you’ll need a low profile card.