The second one seems better in every way. It has a newer, slightly faster CPU. A slightly better GPU with much better GDDR5 VRAM, and an SSD. It also costs less and apparently has much better battery life.
The GPU is much more important for gaming performance. For everything else, the CPU and Hard Drive are more important.