Gaming speed, cores and clocks
The Ryzen 9 7945HX and the Ryzen 5 9600X are within a few percent of each other for gaming. In a game, you will not see the difference.
The Ryzen 9 7945HX has 16 cores and 32 threads, and the Ryzen 5 9600X has 6 cores and 12 threads. The extra cores of the Ryzen 9 7945HX help with video editing, streaming while you play and heavy multitasking more than with the game itself. Boost clocks are 5.4 GHz and 5.4 GHz.