Realize the threads been answered, just chiming in a bit.
The i5 is a superior CPU. So if you have to do some intensive activity like number crunching or video editing, the i5 will win hands down. Some of the Ivy CPU's have the HD4000 iGPU, which is currently the best graphics Intel offer.
The AMD APU's are more oriented toward stronger integrated graphics than CPU capability. The performance from an A10's integrated graphics is far above what the HD4000 can provide, despite its lesser CPU ability. You can even pair up the integrated with some low end Radeons in a Hybrid Crossfire, leading to even better graphical performance.
So, if you need CPU grunt, an i5 is the better option. If you need decent graphics on the cheap, an A10 is the way to go.
If you are going to include a decent graphics cards though, the i5 is better as then its weak integrated isn't a factor anymore.