i always say it depends on what you are doing, from bench marks it seems gaming only, i7 might be better, however I believe few people do only gaming on a pc, say you game, but have a guide up, or a tutorial video or you also do engineering homework when not gaming. depending on whats going on at the same time as gaming, the extra threads/ cores may be worth it, however that noited an i7 likely still will do enough for ya.
now a good case ryzen may have going for it in gaming is frame stability, it seems to have higher 1% / .01% lows, making the visibility of fps dips potentially less noticeable