For those who don't know, his i5 is this one:
http://www.everymac.com/systems/app...-i5-3.2-27-inch-aluminum-late-2012-specs.html
There are a number of factors here, including:
You have a much faster CPU. Your old one was a Core i5-3470
You have a much faster GPU. Your old one was an nVidia GeForce GTX 675MX (or 680MX)
You have either a Fusion drive or a full-on SSD. Not sure which. I don't think you said, but your old one either had a hard drive or a Fusion drive.
So without you telling us all the details, it's hard for people know for sure why the new machine is better. For maximum responsiveness though, you'll want a fast CPU and an internal SSD (not Fusion drive).