There is IPC (Instructions per cycle) and clock rate (your GHz).
So basically your computing power is IPC x clock rate x cores.
So a high IPC at a low clock rate can be better than a low IPC at a high clock rate.
Usally modern CPU have a higher IPC and the same or similar Clock rate. (Best is...