hard to tell.
i7 has less cores (4), but is clocked higher, lower passmark rating (9284)
r5 more cores (6), but lower clock speeds, higher passmark rating (12268)
If you are looking at systems that are priced the same then get the r5.
If you are looking at the 3770 because it is cheaper then...