Gaming speed, cores and clocks
On our gaming index the Ryzen 5 2600 scores 33 and the Core i7-7700 scores 31, about 6% faster for gaming. That gap is small and mostly shows up at 1080p with a very fast graphics card.
The Ryzen 5 2600 has 6 cores and 12 threads, and the Core i7-7700 has 4 cores and 8 threads. The extra cores of the Ryzen 5 2600 help with video editing, streaming while you play and heavy multitasking more than with the game itself. Boost clocks are 3.9 GHz and 4.2 GHz.