They're both fantastic phones. In terms of gaming, the iPhone is slightly better - however it won't stay like that for long. In terms of apps, I think Android has the upper hand (that probably won't change).
They're around the same for speed I reckon.
If you're going to buy one of them, then it's really down to personal preference: do you want a giant app launcher (iPhone), or the customization of Android (Galaxy)?