This is not to say that you can't satisfactorily game/work with the FX. You just have to temper your expectations.
A big factor would be to consider what GPU you paired with each. Too much GPU and the FX will hold it back and overall performance will drop. The i5 would perform better in this comparison as well, in most cases.
Motherboard chipsets and memory speeds (to a lesser extent) would play into an overall comparison, but I digress.