Gaming speed, cores and clocks
On our gaming index the Ryzen 7 5800X scores 66 and the Ryzen 5 5600X scores 58, about 14% faster for gaming. That gap is small and mostly shows up at 1080p with a very fast graphics card.
The Ryzen 7 5800X has 8 cores and 16 threads, and the Ryzen 5 5600X has 6 cores and 12 threads. The extra cores of the Ryzen 7 5800X help with video editing, streaming while you play and heavy multitasking more than with the game itself. Boost clocks are 4.7 GHz and 4.6 GHz.