Gaming speed, cores and clocks
On our gaming index the Ryzen 7 5800X3D scores 78 and the Ryzen 9 5900X scores 65, about 20% faster for gaming. That gap is small and mostly shows up at 1080p with a very fast graphics card.
The Ryzen 7 5800X3D has 8 cores and 16 threads, and the Ryzen 9 5900X has 12 cores and 24 threads. The extra cores of the Ryzen 9 5900X help with video editing, streaming while you play and heavy multitasking more than with the game itself. Boost clocks are 4.5 GHz and 4.8 GHz.