Relatively, a 710 is a large improvement over a 2500 but overall you are still looking at bottom rack office gpus so it doesn't matter. Why are you upgrading? R7 240 regularly drop to the $30 range and that's about as low as you find new gpus. That offers a quite a bit more performance and would at least play lower end games on decent settings and fps. Actually I picked one up for $27 recently for my secondary pc.
If you can find an HD7950 for under $75 or an HD7970 for under $100 on the used market, you'll get the AMD FineWine Technology ™ experience.
I'd actually get the 710 over the R7 240, since it seems to me that more games are NVidia optimized, unless you hit the silicon lottery jackpot like my old Asus R7 240 that overclocked to 1.3ghz~ish stable on its stock cooler. Then again, it was loud AF.
There's no way a 710 is going to outperform a 240 even in nvidia optimized games which most games are not. That's like suggesting someone buy a 950 over a rx 480 if they costed the same. It's too large of a performance difference.