@Koochi-Q As someone who's owned them both, certain Xbox games ran at 720p 60fps while my PS4 ran them in 1080p 60fps most notably MGS5 and PES 2015, both made by Konami and they found working with Xbox very difficult when wanting the 60fps standard, BF5 is also night and day, I mean 720p compared to 1080p at 60fps says all you need to know, most recently the S has managed to hit 900p at 60fps but it's still pretty bad.
I do prefer Xbox though, it's my main because our dashboard and whole package is better but for performance it's PS4, what killed Xbox was the esram or something, Google it.