7700K...right now.
Bench's for the Ryzen look alright, but right now, in the moment, the i7 is still holding out. Not terribly better, but still on top. This could change as games move to more cores, but I feel like this still is a long way down the road ESPECIALLY considering the power the console market has to shape things in gaming.
If you want the one that runs the fastest and performs the best most, almost all, of the time it's the I7 right now.