Because the Radeon R5 330m is ranked slightly higher than the nVidia 820m by Notebookcheck, and the 5th generation Core i5 is slightly better than the 4th gen Core i5, the HP would technically be better. However, due to very minor differences in performance both would likely feel equal to each other when used side by side.