In general, you can compare Passmark scores for:
1) Single core performance, and
2) TOTAL performance
For gaming, more than four true cores (not dual core with hyperthreading) we just look at the SINGLE CORE performance. For example:
https://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i5-3450+%40+3.10GHz&id=820
vs
https://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i5-4690K+%40+3.50GHz
vs
https://www.cpubenchmark.net/cpu.php?cpu=AMD+FX-4300+Quad-Core
Most games use at least TWO cores (not usually more than this fully though). Now, Starcraft 2 really only uses two cores and is often CPU bottlenecked at times (heavy battles) so frame rate is frequently roughly proportional to SINGLE CORE performance.
FX-4300 vs i5-4690K-> 1411 vs 2234
Roughly speaking it's possible to get 50% higher frame rates on an i5-4690K setup with the same GPU and settings.
Other stuff:
Some programs like HANDBRAKE can use eight or more cores/threads (but not necessarily during the entire rendering time) so total performance is more important. Thus an 8-core AMD with lower performance per core would do better than a fast Intel dual-core for Handbrake but again in Starcraft 2 and other games the dual-core Intel might win (since the games again might only use 2-3 cores well).
Hyperthreading:
This is when the same core is running a second task during the time it would otherwise be idle (getting new data to process). An i3-4170 is an example. It only has two physical cores, but each of the virtual cores is roughly speaking another core running at about 40%. The program must still be able to run enough threads to benefit.
Hyperthreading can even cause STUTTER issues in games if the main game thread gets assigned to run on the virtual core which has less processing power.
Summary:
So it gets confusing. Rather than repeat the first comment I thought I'd supplement it.
If you want a specific CPU then ask specific questions like "best build for $1000USD or whatever" as the CPU is just one component. It's all about the BALANCE of components.