None of the above, because it's not that simple. For example, in many real-world use-cases, a 5ghz AMD FX 9590 (which has 8 cores, 8MB of L3 cache) is slower than an Intel Pentium G4560 which comes in at 3.5ghz with 2 cores and 3MB of cache. The CPU's architecture is far more important than core count or clockspeed.
Which CPUs are you comparing exactly?
EDIT: You edited your post. It depends on the specific chips, but editing is generally pretty parallel. More cores are probably better than slightly faster cores, all else being equal.