Which processor is more powerful?

Apple iPhone 5=Dual core ARM Cortex-A15
Samsung Galaxy S4=Quad-core 2 GHz Cortex-A15

I haven't really bothered looking into any of them but I just searched and I think the iPhone 5 is 2.5 GHz, in that case it is faster but quad core is better than dual core - it can handle more at once so I would go with the S4.

The samsung s4.

Samsung galaxy s4 is way more than iphone 5.

The iphone 5 is clocked at only around 1Ghz and galaxy s4 is almost double that